drm/i915: Fix LVDS fixed-mode regression from 219adae1
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Nov 2010 23:20:52 +0000 (23:20 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Nov 2010 00:59:32 +0000 (00:59 +0000)
commit3f8ff0e72d75fdbe7f2cba2c4015fd9fdd9e13fd
tree8ff3d7b542e72604eabe107ea90d96afb22dd3e2
parent08deebf98783d3de553eed2c9b6b8dcc7e168567
drm/i915: Fix LVDS fixed-mode regression from 219adae1

Commit 219adae1 cached the EDID found during LVDS init, but in the
process prevented the init routine from discovering the preferred
fixed-mode for the panel. This was causing us to guess the correct mode,
which sometimes is wide of the mark.

Reported-and-tested-by: Jon Masters <jonathan@jonmasters.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_lvds.c