drm/i915: Only use VBT panel mode on eDP if no EDID is found
authorKeith Packard <keithp@keithp.com>
Mon, 19 Sep 2011 21:33:26 +0000 (14:33 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 30 Sep 2011 23:23:44 +0000 (16:23 -0700)
commit47f0eb2234a2a1c790825393bbaccfadf82463d3
treeac021c31b8a4f0ea14fea07cd51add99cb219ac1
parent192aac1f19e7a2c69fe486b863c914aabd7acc69
drm/i915: Only use VBT panel mode on eDP if no EDID is found

We're going to assume that EDID is more reliable than the VBT tables
for eDP panels, which is notably true on MacBook machines where the
VBT contains completely bogus data.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c