aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2012-11-20 10:27:38 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-11-21 11:47:07 -0500
commitc54e59046c825266ca0decdac47fcfcf902b6cd6 (patch)
treeb1ecb0e6291d6fd4368bf0028784e63bf967ccc5 /drivers/gpu/drm/i915/i915_drv.h
parentcc391bbbddd16c36dabcb9f4a26500a2973a7108 (diff)
drm/i915: fix false positive "Unclaimed write" messages
We don't check if the "unclaimed register" bit is set before we call writel, so if it was already set before, we might print a misleading message about "unclaimed write" on the wrong register. This patch makes us check the unclaimed bit before the writel, so we can print a new "Unknown unclaimed register before writing to %x" message. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
0 files changed, 0 insertions, 0 deletions