[Mesa-stable] [Mesa-dev] [PATCH] radeonsi: last_gfx_fence is a winsys fence
Marek Olšák
maraeo at gmail.com
Mon Dec 7 12:57:13 PST 2015
Ouch, thanks for that.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Mon, Dec 7, 2015 at 9:41 PM, Nicolai Hähnle <nhaehnle at gmail.com> wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
>
> Cc: "11.1" <mesa-stable at lists.freedesktop.org>
> ---
> src/gallium/drivers/radeonsi/si_debug.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c
> index 0a4e0f9..cce665e 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;
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list