drm/i915: Ensure that the crtcinfo is populated during mode_fixup()
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Sep 2010 17:25:19 +0000 (18:25 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sun, 12 Sep 2010 20:20:41 +0000 (21:20 +0100)
commit897493504addc5609f04a2c4f73c37ab972c29b2
tree49beaa53ed2964057aa620adc4034d651104d035
parentdd8849c8f59ec1cee4809a0c5e603e045abe860e
drm/i915: Ensure that the crtcinfo is populated during mode_fixup()

This should fix the mysterious mode setting failures reported during
boot up and after resume, generally for i8xx class machines.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=16478
Reported-and-tested-by: Xavier Chantry <chantry.xavier@gmail.com>
Buzilla: https://bugs.freedesktop.org/show_bug.cgi?id=29413
Tested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: stable@kernel.org
drivers/gpu/drm/i915/intel_display.c