]> git.baikalelectronics.ru Git - kernel.git/commit
drm/edid: Consider alternate cea timings to be the same VIC
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Nov 2016 12:53:29 +0000 (14:53 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Nov 2016 16:05:57 +0000 (18:05 +0200)
commit3c94edf523be8e393c3bc13f24616c8649c54bbc
treef388d59270b0ed424b812636e12f721ef8787477
parent56e503c083fa272ecba2fea4e42a89b2d84852b1
drm/edid: Consider alternate cea timings to be the same VIC

CEA-861 specifies that the vertical front porch may vary by one or two
lines for specific VICs. Up to now we've only considered a mode to match
the VIC if it matched the shortest possible vertical front porch length
(as that is the variant we store in cea_modes[]). Let's allow our VIC
matching to work with the other timings variants as well so that that
we'll send out the correct VIC if the variant actually used isn't the
one with the shortest vertical front porch.

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1478177609-16762-2-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/drm_edid.c