drm/i915: Move i915_power_well_regs struct into i915_power_well_ops
authorImre Deak <imre.deak@intel.com>
Tue, 22 Feb 2022 16:51:33 +0000 (18:51 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 28 Feb 2022 15:03:32 +0000 (17:03 +0200)
commit314fe7dce4139e80fe3df834d1c451917a1b0bc0
treef9f9ea3c0ae28109f7edfa87e59ccd6e4f053ad5
parenta5c517331279916e99e4ea02a50bfdd578861651
drm/i915: Move i915_power_well_regs struct into i915_power_well_ops

Move the i915_power_well_regs struct into i915_power_well_ops. Most of
the power wells use the same ops/regs combination, so this saves some
space and also simplifies the platform power domain->power well
definitions.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222165137.1004194-5-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c