diff options
author | Marek Olšák <[email protected]> | 2018-12-03 14:58:08 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-01-02 15:01:54 -0500 |
commit | 54bc87469a4747ea626d1d680f39eb3d282ede5d (patch) | |
tree | a80b62acdf84f27d7566788977b91315036b1440 /src/gallium/drivers/radeonsi/si_query.c | |
parent | 9d2c3a1fe070b7e6623170b3a9673d1311a49461 (diff) |
radeonsi: make si_cp_wait_mem more configurable
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_query.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_query.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_query.c b/src/gallium/drivers/radeonsi/si_query.c index 093643bf684..a1563de6970 100644 --- a/src/gallium/drivers/radeonsi/si_query.c +++ b/src/gallium/drivers/radeonsi/si_query.c @@ -1576,7 +1576,8 @@ static void si_query_hw_get_result_resource(struct si_context *sctx, va = qbuf->buf->gpu_address + qbuf->results_end - query->result_size; va += params.fence_offset; - si_cp_wait_mem(sctx, va, 0x80000000, 0x80000000, 0); + si_cp_wait_mem(sctx, sctx->gfx_cs, va, 0x80000000, + 0x80000000, WAIT_REG_MEM_EQUAL); } sctx->b.launch_grid(&sctx->b, &grid); |