mbox series

[v2,0/2] Drop EDID cache for it6505/anx7625 when the bridge is powered off

Message ID 20240926092931.3870342-1-treapking@chromium.org (mailing list archive)
Headers show
Series Drop EDID cache for it6505/anx7625 when the bridge is powered off | expand

Message

Pin-yen Lin Sept. 26, 2024, 9:29 a.m. UTC
This mainly fixes the use case when the user changes the external monitor
when the system is suspended. Without this series, both of the bridges
will skip the EDID read and returned the cached one after resume.

Apart from that, we also observed a DP-to-HDMI bridge expects an EDID read
after it's powered on. This patch also works around the problem by always
triggering the EDID read after the system resume.

Changes in v2:
- Only drop the EDID cache for anx7625 when it's not in eDP mode
- Collect review tags

Pin-yen Lin (2):
  drm/bridge: anx7625: Drop EDID cache on bridge power off
  drm/bridge: it6505: Drop EDID cache on bridge power off

 drivers/gpu/drm/bridge/analogix/anx7625.c | 2 ++
 drivers/gpu/drm/bridge/ite-it6505.c       | 2 ++
 2 files changed, 4 insertions(+)