diff options
author | Marek Olšák <[email protected]> | 2017-08-15 02:40:30 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-08-18 16:06:18 +0200 |
commit | 41e053954d326c53c3970575b2e09deb1f49dbb8 (patch) | |
tree | d0e9ea97d9ff3be1106e6d4187f4c0197ebb9689 /src/gallium/drivers/radeonsi/si_perfcounter.c | |
parent | 13aa8d3da92bd83abc8d5212764a15b1217e93bd (diff) |
radeonsi/gfx9: prevent a GPU hang after a timestamp event
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_perfcounter.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_perfcounter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c index 41dd52edb11..df9eeaa8456 100644 --- a/src/gallium/drivers/radeonsi/si_perfcounter.c +++ b/src/gallium/drivers/radeonsi/si_perfcounter.c @@ -591,7 +591,7 @@ static void si_pc_emit_stop(struct r600_common_context *ctx, struct radeon_winsys_cs *cs = ctx->gfx.cs; r600_gfx_write_event_eop(ctx, EVENT_TYPE_BOTTOM_OF_PIPE_TS, 0, 1, - buffer, va, 1, 0); + buffer, va, 1, 0, 0); r600_gfx_wait_fence(ctx, va, 0, 0xffffffff); radeon_emit(cs, PKT3(PKT3_EVENT_WRITE, 0, 0)); |