mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 15:10:21 +01:00
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 d5a5dbd71f)
This commit is contained in:
parent
a500109aad
commit
9908d19699
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue