]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
udldrmfb: Fix EDID not working with monitors with EDID extension blocks
authorHans de Goede <hdegoede@redhat.com>
Fri, 11 Jan 2013 11:08:56 +0000 (12:08 +0100)
committerDave Airlie <airlied@redhat.com>
Sun, 13 Jan 2013 22:44:02 +0000 (08:44 +1000)
commitc930812fe5ebe725760422c9c351d1f6fde1502d
tree035009bfa7c2b43742b39489a2628f63d2ba143b
parent7d00813f68cea787cedc7251e46b3596a8cfba97
udldrmfb: Fix EDID not working with monitors with EDID extension blocks

udldrmfb only reads the main EDID block, and if that advertises extensions
the drm_edid code expects them to be present, and starts reading beyond the
buffer udldrmfb passes it.

Although it may be possible to read more EDID info with the udl we simpy don't
know how, and even if trial and error gets it working on one device, that is
no guarantee it will work on other revisions. So this patch does a simple fix
in the form of patching the EDID info to report 0 extension blocks, this
fixes udldrmfb only doing 1024x768 on monitors with EDID extension blocks.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_connector.c