summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-14 07:46:00 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-05-14 11:12:36 +0100
commitb7316feeda552a88245dadde9dadd9b40b8a4992 (patch)
tree0b5aee43ec97f0a29530fc527580e2a9b8aab940 /src/sna/kgem.h
parent692555cc03c3a3632d2eaacdbbe800afdefd9f77 (diff)
sna: Add some DBG to track rogue requests
In particular allow the pointer cache to be disabled for valgrind. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index cb0055e6..cbaaa5e4 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -553,6 +553,7 @@ static inline void kgem_bo_mark_busy(struct kgem_bo *bo, int ring)
inline static void __kgem_bo_clear_busy(struct kgem_bo *bo)
{
+ DBG(("%s: handle=%d\n", __FUNCTION__, bo->handle));
bo->rq = NULL;
list_del(&bo->request);