]> git.baikalelectronics.ru Git - kernel.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)
commit026641d94de590baf26b7844b2ab8f657e38cfd0
treef42444320e08163a2ac70e2fd62f71c6af229d94
parentfc836bba3a24a98935d12e87176cb518b9941e02
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