[Intel-gfx] [PATCH] drm/i915: avoid unclaimed registers when capturing the error state

Daniel Vetter daniel at ffwll.ch
Fri Nov 1 19:28:05 CET 2013


On Fri, Nov 01, 2013 at 01:32:08PM -0200, Paulo Zanoni wrote:
> From: Paulo Zanoni <paulo.r.zanoni at intel.com>
> 
> 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 at intel.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list