]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams
authorImre Deak <imre.deak@intel.com>
Fri, 14 Apr 2023 17:38:00 +0000 (20:38 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 19 Apr 2023 11:49:16 +0000 (14:49 +0300)
commit27ac123b454417ea92d77c13a5d94655f53b759c
treedc0ba49f223857fa08d029a122d26fbbee78264e
parenta823c5a825cf9e49b2e20011cd87d93f949c2a27
drm/i915/dp_mst: Fix active port PLL selection for secondary MST streams

The port PLL selection needs to be up-to-date in the CRTC state of both
the primary and all secondary MST streams. The commit removing the
encoder update_prepare/complete hooks (see Fixes: below), stopped doing
this for secondary streams, fix this up.

Fixes: 0f752b2178c9 ("drm/i915: Remove the encoder update_prepare()/complete() hooks")
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8336
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230414173800.590790-1-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_ddi.h
drivers/gpu/drm/i915/display/intel_dp_mst.c