[PATCH v6 2/5] drm/edid: Add a function to match EDID with identity
Doug Anderson
dianders at chromium.org
Fri Mar 8 00:04:14 UTC 2024
Hi,
On Thu, Mar 7, 2024 at 3:07 PM Hsin-Yi Wang <hsinyi at chromium.org> wrote:
>
> Create a type drm_edid_ident as the identity of an EDID. Currently it
> contains panel id and monitor name.
>
> Create a function that can match a given EDID and an identity:
> 1. Reject if the panel id doesn't match.
> 2. If name is not null in identity, try to match it in the detailed timing
> blocks. Note that some panel vendors put the monitor name after
> EDID_DETAIL_MONITOR_STRING.
>
> Signed-off-by: Hsin-Yi Wang <hsinyi at chromium.org>
> ---
> v5->v6: finalize the trailing white space and/or NUL decision:
> Allow only white space before \n.
> ---
> drivers/gpu/drm/drm_edid.c | 65 ++++++++++++++++++++++++++++++++++++++
> include/drm/drm_edid.h | 9 ++++++
> 2 files changed, 74 insertions(+)
Reviewed-by: Douglas Anderson <dianders at chromium.org>
More information about the dri-devel
mailing list