drm/i915: Disable SR when more than one pipe is enabled
commitde00361567b613202c24bb31d48481da6d9d2959
authorDavid John <davidjon@xenontk.org>
Wed, 27 Jan 2010 09:49:08 +0000 (27 15:19 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Feb 2010 15:37:46 +0000 (23 07:37 -0800)
tree211d4974cd63a5cccdcb28beed7902ad696a86b3
parente0ddca206e8b551662316053087e9e1184f11a34
drm/i915: Disable SR when more than one pipe is enabled

commit 33c5fd121eabbccc9103daf6cda36941eb3c349f upstream.

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>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/intel_display.c