]> git.karo-electronics.de Git - linux-beck.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)
commitc45a4e46570aa18f6128a2a44243c5d142a8e411
treef388d59270b0ed424b812636e12f721ef8787477
parent79b95552336478b0465b74a1bda1f74239f5da3a
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