]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: only disable enabled planes on intel_fb_restore_mode
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 25 Jan 2013 18:59:13 +0000 (16:59 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 26 Jan 2013 16:56:16 +0000 (17:56 +0100)
commit56e5a3f043f0440cc0cce288e71134d1cb1b44a7
treef42444320e08163a2ac70e2fd62f71c6af229d94
parentfa42e23c1055a4549c433ac56ff869e441c973c8
drm/i915: only disable enabled planes on intel_fb_restore_mode

We should avoid touching registers that are on the power down well
when we don't need to, because if we touch these registers when the
power well is disabled we'll get tons of "unclaimed register"
messages. This commit fixes some of these messages.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fb.c