OSDN Git Service

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)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Wed, 19 Apr 2023 14:25:29 +0000 (17:25 +0300)
commit2c69679626d5daa680d71c77ad58af0088db537f
tree4da4ad0a6ac5280161a6cbe2db6ec1070fa1b868
parent803033c148f754f32da1b93926c49c22731ec485
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
(cherry picked from commit 27ac123b454417ea92d77c13a5d94655f53b759c)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.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