summaryrefslogtreecommitdiffstats
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2022-03-23 11:04:38 +0100
committerJani Nikula <jani.nikula@intel.com>2022-03-24 10:41:14 +0100
commit7344bad7fb6daa4877a1c064b52c7d5f9182c41b (patch)
treeaf92a0132abe4568b16b9e529317cb6bd17cfdf1 /drivers/dma-buf
parentdrm/edid: check basic audio support on CEA extension block (diff)
downloadlinux-7344bad7fb6daa4877a1c064b52c7d5f9182c41b.tar.xz
linux-7344bad7fb6daa4877a1c064b52c7d5f9182c41b.zip
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: <stable@vger.kernel.org> Cc: Shawn C Lee <shawn.c.lee@intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220323100438.1757295-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions