summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-06-04 15:28:31 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-06-04 15:28:31 +0100
commitebb1c9d5f82e8822f7400ff11a887ab047a0d78e (patch)
tree50b1b48a4296371910e145b6b40dac4b7cc8af7a
parent6dc5ddfe807b307ca10af971c4f84498b2fb82a2 (diff)
sna: Make the bo-is-busy DBG more useful by saying which bo it is
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index deff5dfc..e4a5b4c8 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -474,8 +474,8 @@ static inline bool kgem_bo_can_map(struct kgem *kgem, struct kgem_bo *bo)
static inline bool kgem_bo_is_busy(struct kgem_bo *bo)
{
- DBG_HDR(("%s: domain: %d exec? %d, rq? %d\n",
- __FUNCTION__, bo->domain, bo->exec != NULL, bo->rq != NULL));
+ DBG_HDR(("%s: handle=%d, domain: %d exec? %d, rq? %d\n", __FUNCTION__,
+ bo->handle, bo->domain, bo->exec != NULL, bo->rq != NULL));
return bo->rq;
}