]> bbs.cooldavid.org Git - net-next-2.6.git/commit
DRM: ignore invalid EDID extensions
authorSam Tygier <samtygier@yahoo.co.uk>
Thu, 23 Sep 2010 09:11:01 +0000 (10:11 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Nov 2010 03:34:14 +0000 (13:34 +1000)
commit0ea75e23356f73b4300492e04a62c90787a55c2d
tree5c5c193ed9c77b9acd0c74a0fe4745529e81af6a
parentc5d46b4e9f5604ba3e97986ffbd461d3cca79e8b
DRM: ignore invalid EDID extensions

Currently an invalid EDID extension will cause the whole EDID to be considered invalid. Instead just drop the invalid extensions, and return the valid ones. The base block is modified to claim to have the number valid extensions, and the check sum is updated.

For my EIZO S2242W the base block is fine, but the extension block is all zeros. Without this patch I get no X and no VTs.

Signed-off-by: Sam Tygier <samtygier@yahoo.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c