Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/display: hdmi: Do not read EDID on disconnected connectors

The recently introduced hotplug event handler in the HDMI Connector
framework attempts to unconditionally read the EDID data, leading to a
bunch of non-harmful, yet quite annoying DDC/I2C related errors being
reported.

Ensure the operation is done only for connectors having the status
connected or unknown. Additionally, perform an explicit reset of the
connector information when dealing with a disconnected status.

Fixes: ab716b74dc9d ("drm/display/hdmi: implement hotplug functions")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250113-hdmi-conn-edid-read-fix-v2-1-d2a0438a44ab@collabora.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>

authored by

Cristian Ciocaltea and committed by
Maxime Ripard
78a5acf5 e12b9dc6

+2
+2
drivers/gpu/drm/display/drm_hdmi_state_helper.c
··· 791 791 if (status == connector_status_disconnected) { 792 792 // TODO: also handle CEC and scramber, HDMI sink disconnected. 793 793 drm_connector_hdmi_audio_plugged_notify(connector, false); 794 + drm_edid_connector_update(connector, NULL); 795 + return; 794 796 } 795 797 796 798 if (connector->hdmi.funcs->read_edid)