diff options
author | Jani Nikula <jani.nikula@intel.com> | 2025-06-25 15:39:38 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2025-06-26 21:50:23 +0300 |
commit | 80e49db50175b935da6026009d6e09e17af044df (patch) | |
tree | a7178c72a39336f3e885207679d7e03b836a1c85 /rust/helpers/workqueue.c | |
parent | ca09800fbbad463c1ff908928367a40e17e65eab (diff) |
drm/i915/power: convert {SKL, ICL}_PW_CTL_IDX_TO_PG() macros to a function
Add pw_ctl_idx_to_pg() helper function to deduplicate the open-coded
usage of the {SKL,ICL}_PW_CTL_IDX_TO_PG() macros.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/3aa74825db0b900f93b94aa89d0242a354929b85.1750855148.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions