drm/i915: LVDS fallback to fixed-mode if EDID not present
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Nov 2012 16:14:04 +0000 (16:14 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 22 Nov 2012 21:06:31 +0000 (22:06 +0100)
commit2aa4f09917d9854928074bb5bf1b9d8a9364a67f
treef1be54e60b696333cef8c3d220bb9a6f325bcf41
parent4b745b1e54efa5154a06ed606ad82660773602b3
drm/i915: LVDS fallback to fixed-mode if EDID not present

Use the recorded panel fixed-mode to populate the get_modes() request in
the absence of an EDID.

Fixes regression from
commit 9cd300e038d492af4990b04e127e0bd2df64b1ca
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Fri Oct 19 14:51:52 2012 +0300

    drm/i915: Move cached EDID to intel_connector

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
[danvet: Drop the retval-changing hunk, as suggested by Jani in his
review and acked by Chris.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_lvds.c