]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't read cursor registers on powered down pipes
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Tue, 1 Apr 2014 17:55:11 +0000 (14:55 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:53:44 +0000 (22:53 +0200)
commit50e8268ec3ad18dd7a6f479785fb60a58e665d2a
treede4ed00b6464defae164fae84543c7e4bdd0adf1
parentc13c207a8558b8499aa4233e61b05c60e757f238
drm/i915: don't read cursor registers on powered down pipes

At i915_display_info, don't call cursor_position() for a disabled
CRTC, since the CRTC may be on a powered down pipe, and this will
cause "Unclaimed register before interrupt" error messages.

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