drm/i915/dsi: Grab the crtc from the customary place
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 8 Jun 2023 20:30:56 +0000 (23:30 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Jun 2023 16:08:16 +0000 (19:08 +0300)
commit3d41ec41f14cd782d8247bdd73591f312353485d
treef798cef98b916dca3b77a8f37f4b8e2fbbca6c13
parent5263a63c88d825ab7510fdb36419c06542bf52d9
drm/i915/dsi: Grab the crtc from the customary place

The encoder hooks already get passed the crtc state so just
grab the crtc from there instead of from the connector state.
This is generally what everyone else does, so no reason for
icl_dsi.c to be different.

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