summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-09-19 11:00:39 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-19 11:00:39 +0100
commit12fc6687949c299d8c13751663217e7b37be7e43 (patch)
treeb7dedbcbc64c43b5a4dc848e192d6140ed32abad
parent5ddd106e8f9b6a8176a7a5a82928067feaec0e03 (diff)
sna/gen8: Update DBG output of surface offset
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen8_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen8_render.c b/src/sna/gen8_render.c
index 1eb54aaf..e251315b 100644
--- a/src/sna/gen8_render.c
+++ b/src/sna/gen8_render.c
@@ -1396,8 +1396,8 @@ gen8_bind_bo(struct sna *sna,
kgem_bo_set_binding(bo, format | is_dst << 30 | is_scanout << 31, offset);
- DBG(("[%x] bind bo(handle=%d, addr=%d), format=%d, width=%d, height=%d, pitch=%d, tiling=%d -> %s\n",
- offset, bo->handle, ss[1],
+ DBG(("[%x] bind bo(handle=%d, addr=%lx), format=%d, width=%d, height=%d, pitch=%d, tiling=%d -> %s\n",
+ offset, bo->handle, *(uint64_t *)(ss+8),
format, width, height, bo->pitch, bo->tiling,
domains & 0xffff ? "render" : "sampler"));