summaryrefslogtreecommitdiff
path: root/src/sna/kgem.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-08-26 14:29:41 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-08-26 14:29:41 +0100
commit0c15824a8143a288716d2eacf03252cc54eb9466 (patch)
tree754c240e96d5d38726102f05f0271dd058ceb963 /src/sna/kgem.h
parentd432983421286d343f7c487c12c7244b711f5a66 (diff)
sna: Add some DBG to kgem_is_idle()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/kgem.h')
-rw-r--r--src/sna/kgem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index d085a2f0..d8018b80 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -261,8 +261,10 @@ bool kgem_retire(struct kgem *kgem);
bool __kgem_is_idle(struct kgem *kgem);
static inline bool kgem_is_idle(struct kgem *kgem)
{
- if (list_is_empty(&kgem->requests))
+ if (list_is_empty(&kgem->requests)) {
+ DBG(("%s: no outstanding requests\n", __FUNCTION__));
return true;
+ }
return __kgem_is_idle(kgem);
}