]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Iterate through all DispID ext blocks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 27 May 2020 13:03:09 +0000 (16:03 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 9 Jul 2020 18:45:06 +0000 (21:45 +0300)
commit0d99bf32f34e21782832f8b98845ebe78d3263e6
treecd4edb8c53527afb16fdb1535f08930a6a1e4238
parentb3444f9d0354e6176e747755da522b176a962e79
drm/edid: Iterate through all DispID ext blocks

Apparently there are EDIDs in the wild with multiple DispID extension
blocks. Iterate through them all.

In one particular case the tile information is specicied in the
second DispID ext block, and since the current parser only looks
at the first DispID ext block we don't notice that we're dealing
with a tiled display.

While at it change a few functions to return void since we have
no use for the errno.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/27
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200527130310.27099-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/drm_edid.c