]> www.infradead.org Git - nvme.git/commit
drm/i915/dp: Clear VSC SDP during post ddi disable routine
authorSuraj Kandpal <suraj.kandpal@intel.com>
Wed, 24 Jul 2024 16:37:43 +0000 (22:07 +0530)
committerSuraj Kandpal <suraj.kandpal@intel.com>
Thu, 25 Jul 2024 09:41:23 +0000 (15:11 +0530)
commit3e307d6c28e7bc7d94b5699d0ed7fe07df6db094
treeb0282611837cfe8e6259061e89c01b8191839c50
parentb4224f6bae3801d589f815672ec62800a1501b0d
drm/i915/dp: Clear VSC SDP during post ddi disable routine

Clear VSC SDP if intel_dp_set_infoframes is called from post ddi disable
routine i.e with the variable of enable as false. This is to avoid
an infoframes.enable mismatch issue which is caused when pipe is
connected to eDp which has psr then connected to DPMST. In this case
eDp's post ddi disable routine does not clear infoframes.enable VSC
for the given pipe and DPMST does not recompute VSC SDP and write
infoframes.enable which causes a mismatch.

--v2
-Make the comment match the code [Jani]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240724163743.3668407-1-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_dp.c