summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2015-12-07 15:16:24 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2015-12-12 19:39:02 +0000
commit9908d196999bcdff73f29fbb3ab6ebf6b4da4ae9 (patch)
treed6698d194f164aa722becaefd17ec22b4a1ec4b0
parenta500109aad1c1d0645b741ebd0ca81b0b2033ef6 (diff)
radeonsi: last_gfx_fence is a winsys fence
Cc: "11.1" <mesa-stable@lists.freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> (cherry picked from commit d5a5dbd71f0e8756494809025ba2119efdf26373)
-rw-r--r--src/gallium/drivers/radeonsi/si_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c
index 53062187b88..2c7e65e38ee 100644
--- a/src/gallium/drivers/radeonsi/si_debug.c
+++ b/src/gallium/drivers/radeonsi/si_debug.c
@@ -632,7 +632,7 @@ void si_check_vm_faults(struct si_context *sctx)
/* Use conservative timeout 800ms, after which we won't wait any
* longer and assume the GPU is hung.
*/
- screen->fence_finish(screen, sctx->last_gfx_fence, 800*1000*1000);
+ sctx->b.ws->fence_wait(sctx->b.ws, sctx->last_gfx_fence, 800*1000*1000);
if (!si_vm_fault_occured(sctx, &addr))
return;