]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: hdmi: stop rereading EDID in get_modes()
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tue, 24 Dec 2024 01:48:01 +0000 (03:48 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sat, 4 Jan 2025 06:47:11 +0000 (08:47 +0200)
commitb4fa0800760c20fe34318a1079687526fc323572
tree9458d52a8f82ca4f50a392a14745c7650e483917
parent9640f1437a88d8c617ff5523f1f9dc8c3ff29121
drm/vc4: hdmi: stop rereading EDID in get_modes()

The vc4_hdmi_connector_detect_ctx() via vc4_hdmi_handle_hotplug()
already reads EDID and propagates it to the drm_connector. Stop
rereading EDID as a part of the .get_modes() callback and just update
the list of modes. This matches the behaviour of the i915 driver.

Acked-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241224-drm-bridge-hdmi-connector-v10-9-dc89577cd438@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/vc4/vc4_hdmi.c