diff options
author | Nicolai Hähnle <[email protected]> | 2016-06-20 17:19:28 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2016-06-24 12:36:03 +0200 |
commit | d46a9db840b8f82c079a6610723e8a6c519c46cd (patch) | |
tree | d2b48928e991f3d5264c5576a22b343e0c0c420e /src/gallium/drivers/radeonsi/si_hw_context.c | |
parent | 80dd7870fe87969e97045ea71b1f6e8180ac9606 (diff) |
radeon: check VM faults from DMA flush
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_hw_context.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_hw_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_hw_context.c b/src/gallium/drivers/radeonsi/si_hw_context.c index 656d435361c..ec45d19353b 100644 --- a/src/gallium/drivers/radeonsi/si_hw_context.c +++ b/src/gallium/drivers/radeonsi/si_hw_context.c @@ -150,7 +150,7 @@ void si_context_gfx_flush(void *context, unsigned flags, */ ctx->b.ws->fence_wait(ctx->b.ws, ctx->last_gfx_fence, 800*1000*1000); - si_check_vm_faults(ctx); + si_check_vm_faults(&ctx->b, &ctx->last_gfx, RING_GFX); } si_begin_new_cs(ctx); |