drm/bridge: ps8640: Add a cache for EDID
authorPin-yen Lin <treapking@chromium.org>
Wed, 15 Mar 2023 03:55:08 +0000 (11:55 +0800)
committerDouglas Anderson <dianders@chromium.org>
Thu, 23 Mar 2023 20:55:43 +0000 (13:55 -0700)
commit6a17b4d1b52f10a44c45eea2a9222088e7c9e573
tree74627a13e16de4f7aa34d6ed781725cf184fc0d3
parent845e730eaf36d2199e25860259611ffda8e07f6c
drm/bridge: ps8640: Add a cache for EDID

When there are multiple EDID reads, the bridge will be repeatedly
enabled and disabled. Add a cache for EDID to speed this up.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230315035508.2874915-2-treapking@chromium.org
drivers/gpu/drm/bridge/parade-ps8640.c