drm/i915/cx0: pass encoder instead of i915 and port around
authorJani Nikula <jani.nikula@intel.com>
Wed, 20 Mar 2024 15:48:04 +0000 (17:48 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 21 Mar 2024 12:10:27 +0000 (14:10 +0200)
commitf526535860e32ce4532c4bd5aabc7f6938f0c758
tree1fbfd543482c0b46151bc18a8b7e12296dab2d94
parentd5a8a7b9eea8a63c22d39804e2847f63726b33a2
drm/i915/cx0: pass encoder instead of i915 and port around

The encoder is a much more useful thing to pass around than the i915 and
port combo. Also drive-by clean up some cases where both i915 and
encoder are passed; only the latter is needed.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f9308e47a3a66bd74479480964c8a538e3f6a358.1710949619.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_cx0_phy.c