]> 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)
commita8a0aab8a472f80f23d5518d999f4bbed423eebb
treef42444320e08163a2ac70e2fd62f71c6af229d94
parentf7365f4562218c68d9fb7178b5f105d2b213a567
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