drm/i915: disable VGA plane reliably
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 23 Jul 2009 17:00:28 +0000 (01:00 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 29 Jul 2009 22:15:53 +0000 (15:15 -0700)
commit24f119c769bacac5729297b682fec7811a983cc6
tree32223326ccc9ce401b3126044b50bdae078195df
parentcdaa052b05e26d96a990af5d253fd2af5db2b1fc
drm/i915: disable VGA plane reliably

This does VGA disable like DDX driver. SR01 bit 5 should be set
before VGA plane disable through control register, otherwise we
might get random crash and lockups.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c