summaryrefslogtreecommitdiff
path: root/include/kvm
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2013-11-01 13:32:08 -0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-11-01 18:54:51 +0100
commit9d1cb9147dbe45f6e94dc796518ecf67cb64b359 (patch)
tree949523de2ffb0ad320f855013b1f0c1d909a0f43 /include/kvm
parent26756809583c1023dcbc896261105c1e289d262b (diff)
drm/i915: avoid unclaimed registers when capturing the error state
Even though we only check for unclaimed registers while we're writing registers, if we read a bad register we'll still trigger a CPU error interrupt, and we'll print an "Unclaimed register" DRM_ERROR due to that. To avoid this error, just avoid touching power domains that are not enabled. Use kzalloc so we're sure all the disabled domains will be zeroed on the error state file. We already print the information that is enough to discover if the power well is enabled on the error state file, so this should not be a problem. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=69747 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/kvm')
0 files changed, 0 insertions, 0 deletions