]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/bridge: it6505: Drop EDID cache on bridge power off
authorPin-yen Lin <treapking@chromium.org>
Thu, 26 Sep 2024 09:29:09 +0000 (17:29 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 3 Oct 2024 20:24:33 +0000 (13:24 -0700)
commit574c558ddb68591c9a4b7a95e45e935ab22c0fc6
treef0608b148bea380878777609723d4c217ccd0dd3
parent00ae002116a14c2e6a342c4c9ae080cdbb9b4b21
drm/bridge: it6505: Drop EDID cache on bridge power off

The bridge might miss the display change events when it's powered off.
This happens when a user changes the external monitor when the system
is suspended and the embedded controller doesn't not wake AP up.

It's also observed that one DP-to-HDMI bridge doesn't work correctly
when there is no EDID read after it is powered on.

Drop the cache to force an EDID read after system resume to fix this.

Fixes: 11feaef69d0c ("drm/bridge: it6505: Add caching for EDID")
Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240926092931.3870342-3-treapking@chromium.org
drivers/gpu/drm/bridge/ite-it6505.c