]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/dp_mst: Ensure link parameters are up-to-date for a disabled link
authorImre Deak <imre.deak@intel.com>
Mon, 22 Jul 2024 16:55:02 +0000 (19:55 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 31 Jul 2024 15:45:59 +0000 (18:45 +0300)
commite44bc451aa4b08845c238028daafb4eaffb573a3
treea981c85bc982f183280fef0c792a656662f78e5c
parente40fbf616610e33aba9597f278925b4ae8cc806c
drm/i915/dp_mst: Ensure link parameters are up-to-date for a disabled link

As explained in the previous patch, the MST link BW reported by branch
devices during topology probing/path resources enumeration depends on
the link parameters programmed to DPCD to be up-to-date. After a sink is
plugged this is not ensured, as those DPCD values start out zeroed. The
target link parameters (for a subsequent modeset) are the maximum that
is supported, so make sure these maximum values are programmed before the
topology probing.

Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240722165503.2084999-14-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/display/intel_dp_mst.h