gma500: Consider CRTC initially active.
authorForest Bond <forest.bond@rapidrollout.com>
Mon, 13 Aug 2012 16:31:24 +0000 (16:31 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 30 Aug 2012 00:33:53 +0000 (10:33 +1000)
commit4a68a74ba04e7ccf798d45988f4f2d2131fb5063
tree83e1e298a1186d8dd25c2b29d5de377acaac63ef
parent84f720ecba6716d198b21936d1bf6253e8ab42a1
gma500: Consider CRTC initially active.

[this one ideally should make 3.6 - it fixes the very annoying mode setting bug]

This causes the pipe to be forced off prior to initial mode set, which
roughly mirrors the behavior of the i915 driver.  It fixes initial mode
setting on my Intel DN2800MT (Cedarview) board.  Without it, mode
setting triggers an out-of-range error from the monitor for most modes,
but only on initial configuration (i.e. they can be configured
successfully from userspace after that).

Signed-off-by: Forest Bond <forest.bond@rapidrollout.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/psb_intel_display.c