diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-03-01 14:29:40 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-03-06 19:09:33 +0200 |
commit | 825f0de2fdda691776b6f45af1d3c9ca3d5ff7fc (patch) | |
tree | 4c77ac986a2061b668e26067d61fbce92a229d7e /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
parent | 95ccb25e32af8a86286df215f19ab2c0418cbcc9 (diff) |
drm/i915/power: move dc state members to struct i915_power_domains
There's only one reference to the struct intel_dmc members dc_state,
target_dc_state, and allowed_dc_mask within intel_dmc.c, begging the
question why they are under struct intel_dmc to begin with.
Moreover, the only references to i915->display.dmc outside of
intel_dmc.c are to these members.
They don't belong. Move them from struct intel_dmc to struct
i915_power_domains, which seems like a more suitable place.
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230301122944.1298929-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions