drm/i915: fix VGA plane disable for Ironlake+
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 13 Aug 2010 22:11:26 +0000 (15:11 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 18 Aug 2010 20:21:45 +0000 (13:21 -0700)
commit9cce37f4855a30cc7c364edf18522282782f7ddc
tree62727f7142a8b4942895cb9f3cadd7b13b984d6d
parent7643a7fa16edf180d593f705f4fa5930c40e8d2d
drm/i915: fix VGA plane disable for Ironlake+

We need to use I/O port instructions to access VGA registers on
Ironlake+, and it doesn't hurt on other platforms, so switch the VGA
plane disable function over to using them.  Move it to init time as well
while we're at it, no need to repeatedly disable the VGA plane with
every mode set and DPMS event.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/gpu/drm/i915/intel_display.c