]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/msm/dp: clear EDID on display unplug
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Sun, 24 May 2026 10:33:38 +0000 (13:33 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Fri, 29 May 2026 11:59:26 +0000 (14:59 +0300)
commit24acb35682eacc751417613d37aba6f93b68378d
treeee04dff762b9fb9ef6f8c4616efdd4b2327373a2
parent3ea2d1c3d15476d85978a3e40df5cdd6fa944fe6
drm/msm/dp: clear EDID on display unplug

Currently the driver only updates the EDID when it detects a connected
monitor, which results in the connector still listing outdated modes
even after the display is unplugged. Set connector's EDID to NULL on
unplug to clear the list of modes.

Tested-by: Val Packett <val@packett.cool> # x1e80100-dell-latitude-7455
Tested-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com> # Hamoa IOT EVK, QCS8300 Ride
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/727619/
Link: https://lore.kernel.org/r/20260524-hpd-refactor-v6-10-cf3ab488dd7b@oss.qualcomm.com
drivers/gpu/drm/msm/dp/dp_display.c
drivers/gpu/drm/msm/dp/dp_panel.c
drivers/gpu/drm/msm/dp/dp_panel.h