drm/i915: Disable SR when more than one pipe is enabled
authorDavid John <davidjon@xenontk.org>
Wed, 27 Jan 2010 09:49:08 +0000 (15:19 +0530)
committerEric Anholt <eric@anholt.net>
Thu, 4 Feb 2010 16:36:20 +0000 (08:36 -0800)
commit33c5fd121eabbccc9103daf6cda36941eb3c349f
tree1e262dd14b1e283e8343605a15ed3d6f8241ea0d
parent013d5aa2bbb2ceacba7a0dad7f2a0eb20133323f
drm/i915: Disable SR when more than one pipe is enabled

Self Refresh should be disabled on dual plane configs.  Otherwise, as
the SR watermark is not calculated for such configs, switching to non
VGA mode causes FIFO underrun and display flicker.

This fixes Korg Bug #14897.

Signed-off-by: David John <davidjon@xenontk.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c