]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/display: hdmi: Do not read EDID on disconnected connectors
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Mon, 13 Jan 2025 13:36:18 +0000 (15:36 +0200)
committerMaxime Ripard <mripard@kernel.org>
Tue, 14 Jan 2025 17:53:33 +0000 (18:53 +0100)
commit78a5acf5433d8c675fa826da3ce8646c999f2842
tree5f2df2965a17dc6cda6f47af108203f9dde1b494
parente12b9dc6f982d1e110f87215a9114d14dbd60fbc
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>
drivers/gpu/drm/display/drm_hdmi_state_helper.c