diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2012-11-20 10:27:38 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-21 11:47:07 -0500 |
commit | c54e59046c825266ca0decdac47fcfcf902b6cd6 (patch) | |
tree | b1ecb0e6291d6fd4368bf0028784e63bf967ccc5 /drivers/gpu/drm/i915/i915_drv.h | |
parent | cc391bbbddd16c36dabcb9f4a26500a2973a7108 (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