drm/i915: Initialize intel_crtc->active
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Sep 2010 15:58:39 +0000 (16:58 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 Sep 2010 16:04:14 +0000 (17:04 +0100)
commite65d9305f528d4f354378690135ee8d1c60ec0a5
tree1ba41c9e13016987314004f9d239f036bf3cbf73
parentf7abfe8b281991c66406c42c1a6c6c9ee0daa0ff
drm/i915: Initialize intel_crtc->active

Fix a regression in the previous regression fix...

In order to turn off the pipes entirely upon the first modeset, we
pretend that BIOS (or earlier module incarnation) left them active.
The first task performed by setup_initial_configuration() is to disable
all pipes and so to avoid skipping that step and so to ensure a known
configuration we need to mark all the crtcs as active.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c