]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: edid revision 0 is valid
authorKyle McMartin <kyle@redhat.com>
Wed, 25 Feb 2009 01:31:53 +0000 (20:31 -0500)
committerDave Airlie <airlied@linux.ie>
Wed, 25 Feb 2009 04:47:05 +0000 (14:47 +1000)
commitd61e7380b402a481ab1fa8027068a24918f701c8
treefd973d660e31ca7cc2495c3fee0db7f63ca1fcf0
parentb3f5e7329df1a508ac58ebe7509fb7a47b9eab6a
drm: edid revision 0 is valid

edid->revision == 0 should be valid (at least, so the error message
indicates. :) and wikipedia seems to indicate that EDID 1.0 existed.

We can dump the entire check, since edid->revision is a u8, so
it can't ever be less than 0.

Marko reports in RH bz#476735 that his monitor claims to be
EDID 1.0, and therefore hits the check and is stuck at 800x600 because
of it.

Reported-by: Marko Ristola <marko.ristola@kolumbus.fi>
Signed-off-by: Kyle McMartin <kyle@redhat.com>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/gpu/drm/drm_edid.c