diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-17 12:54:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-17 12:54:47 +0100 |
commit | 339c9dd0d5206180995731ab22304776e544f2f7 (patch) | |
tree | fa2db0fab413eeeb64a941f29505037dc846c1dd | |
parent | 62f62f70eda97a3ef18c5144031fdf1cb2b7dad0 (diff) |
sna: Add missing DBG parameters
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/kgem.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/sna/kgem.c b/src/sna/kgem.c index b6f5393a..e5d2d14f 100644 --- a/src/sna/kgem.c +++ b/src/sna/kgem.c @@ -4046,13 +4046,15 @@ struct kgem_bo *kgem_create_for_prime(struct kgem *kgem, int name, uint32_t size switch (caching.caching) { case 0: if (kgem->has_llc) { - DBG(("%s: interpreting handle=%d as a foreign scanout\n")); + DBG(("%s: interpreting handle=%d as a foreign scanout\n", + __FUNCTION__, args.handle)); bo->scanout = true; } break; case 1: if (!kgem->has_llc) { - DBG(("%s: interpreting handle=%d as a foreign snooped buffer\n")); + DBG(("%s: interpreting handle=%d as a foreign snooped buffer\n", + __FUNCTION__, args.handle)); bo->snoop = true; if (bo->tiling) { DBG(("%s: illegal snooped tiled buffer\n", __FUNCTION__)); @@ -4062,7 +4064,8 @@ struct kgem_bo *kgem_create_for_prime(struct kgem *kgem, int name, uint32_t size } break; case 2: - DBG(("%s: interpreting handle=%d as a foreign scanout\n")); + DBG(("%s: interpreting handle=%d as a foreign scanout\n", + __FUNCTION__, args.handle)); bo->scanout = true; break; } |