diff options
author | Jani Nikula <[email protected]> | 2022-03-23 12:04:38 +0200 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2022-03-24 11:41:14 +0200 |
commit | 7344bad7fb6daa4877a1c064b52c7d5f9182c41b (patch) | |
tree | af92a0132abe4568b16b9e529317cb6bd17cfdf1 /lib/mpi/mpiutil.c | |
parent | 5662abf6e21338be6d085d6375d3732ac6147fd2 (diff) |
drm/edid: fix CEA extension byte #3 parsing
Only an EDID CEA extension has byte #3, while the CTA DisplayID Data
Block does not. Don't interpret bogus data for color formats.
For most displays it's probably an unlikely scenario you'd have a CTA
DisplayID Data Block without a CEA extension, but they do exist.
Fixes: e28ad544f462 ("drm/edid: parse CEA blocks embedded in DisplayID")
Cc: <[email protected]>
Cc: Shawn C Lee <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions