summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-09-13 11:34:25 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-09-13 11:34:25 +0100
commit544b1a678d5bf49559d8422750866685c36cb152 (patch)
tree80b955bc7a8afd92d359d1417d8747868f24b370
parent6b1ed58d63e9ac80d7d028fa3036633436154816 (diff)
sna/gen5: Fix debug compilation
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/gen5_render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/gen5_render.c b/src/sna/gen5_render.c
index d5863b1c..d9edc2b2 100644
--- a/src/sna/gen5_render.c
+++ b/src/sna/gen5_render.c
@@ -716,8 +716,8 @@ gen5_bind_bo(struct sna *sna,
ss[5] = 0;
DBG(("[%x] bind bo(handle=%d, addr=%d), format=%d, width=%d, height=%d, pitch=%d, tiling=%d -> %s\n",
- offset, bo->handle, ss->ss1.base_addr,
- ss->ss0.surface_format, width, height, bo->pitch, bo->tiling,
+ offset, bo->handle, ss[1],
+ format, width, height, bo->pitch, bo->tiling,
domains & 0xffff ? "render" : "sampler"));
return offset;