diff options
author | Keith Whitwell <[email protected]> | 2009-11-27 12:18:22 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-27 12:24:57 +0000 |
commit | b911688b87a011eacf2034bd61562e633952a66b (patch) | |
tree | fdac68bdf5c56ab464d3dc2f6878239ae8241d76 /src/gallium/drivers/svga/svga_screen.c | |
parent | 69671df74c8b45f08149c248a7ee905912aec2b0 (diff) |
svga: add DEBUG_CACHE option
Diffstat (limited to 'src/gallium/drivers/svga/svga_screen.c')
-rw-r--r-- | src/gallium/drivers/svga/svga_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 3afcaffff55..fc1b3c980ef 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -57,6 +57,7 @@ static const struct debug_named_value svga_debug_flags[] = { { "perf", DEBUG_PERF }, { "flush", DEBUG_FLUSH }, { "sync", DEBUG_SYNC }, + { "cache", DEBUG_CACHE }, {NULL, 0} }; #endif @@ -297,6 +298,10 @@ svga_fence_finish(struct pipe_screen *screen, unsigned flag) { struct svga_winsys_screen *sws = svga_screen(screen)->sws; + + SVGA_DBG(DEBUG_DMA|DEBUG_PERF, "%s fence_ptr %p\n", + __FUNCTION__, fence); + return sws->fence_finish(sws, fence, flag); } |