[PATCH 0/2] Match panel hash for overridden mode

From: Hsin-Yi Wang
Date: Fri Feb 23 2024 - 17:40:09 EST


This series is a follow up for 1a5e81de180e ("Revert "drm/panel-edp: Add
auo_b116xa3_mode""). It's found that 2 different AUO panels use the same
product id. One of them requires an overridden mode, while the other should
use the mode directly from edid.

Since product id match is no longer sufficient, EDP_PANEL_ENTRY2 is extended
to check the crc hash of the entire edid base block.

Hsin-Yi Wang (2):
drm_edid: Add a function to get EDID base block
drm/panel: panel-edp: Match with panel hash for overridden modes

drivers/gpu/drm/drm_edid.c | 55 +++++++++++++++-------------
drivers/gpu/drm/panel/panel-edp.c | 60 ++++++++++++++++++++++++++-----
include/drm/drm_edid.h | 3 +-
3 files changed, 84 insertions(+), 34 deletions(-)

--
2.44.0.rc0.258.g7320e95886-goog