From: Nicolai Hähnle Date: Mon, 7 Dec 2015 20:16:24 +0000 (-0500) Subject: radeonsi: last_gfx_fence is a winsys fence X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d5a5dbd71f0e8756494809025ba2119efdf26373;p=mesa.git radeonsi: last_gfx_fence is a winsys fence Cc: "11.1" Reviewed-by: Marek Olšák --- diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 0a4e0f9342e..cce665e85fa 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -668,7 +668,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;