]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite933589d250f229943c9b6d6c60aa647cf01b307
tree62727f7142a8b4942895cb9f3cadd7b13b984d6d
parentf2480321acceff5de19e806f3f49105112b340b2
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