drm/i915: Handle joined pipes inside hsw_crtc_disable()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 9 Apr 2024 16:34:59 +0000 (19:34 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 11 Apr 2024 20:58:47 +0000 (23:58 +0300)
commite16bcbb011868abd9ed052f5957b77ad3f79fc67
tree5b8577f1d3bacb7c8ff28ebb6042ac52edd0f6fc
parentb7ce28038f8ddaaa1300f6abcae951c2ff554935
drm/i915: Handle joined pipes inside hsw_crtc_disable()

Reorganize the crtc disable path to only deal with the
master pipes/transcoders in intel_old_crtc_state_disables()
and offload the handling of joined pipes to hsw_crtc_disable().
This makes the whole thing much more sensible since we can
actually control the order in which we do the per-pipe vs.
per-transcoder modeset steps.

v2: Use the name 'pipe_crtc' for the per-pipe crtc pointer

Tested-by: Vidya Srinivas <vidya.srinivas@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240409163502.29633-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c