UPSTREAM: drm/bridge: anx7625: 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: 8bdfc5dae4e3 ("drm/bridge: anx7625: Add anx7625 MIPI DSI/DPI to DP")
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-2-treapking@chromium.org
(cherry picked from commit 00ae002116a14c2e6a342c4c9ae080cdbb9b4b21)
BUG=b:150030708
TEST=boot with asurada ToT
Signed-off-by: Linux Patches Robot <linux-patches-robot@chromeos-missing-patches.google.com.iam.gserviceaccount.com>
Change-Id: I644d47ac2550822023574b934256dd00ce2160ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/6055594
Commit-Queue: Divya Chauhan <chauhandivya@google.com>
Reviewed-by: Tzung-Bi Shih <tzungbi@chromium.org>
Reviewed-by: Divya Chauhan <chauhandivya@google.com>
Reviewed-by: Sean Paul <sean@poorly.run>
1 file changed