aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_perfcounter.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-02-12 15:03:13 -0500
committerMarek Olšák <[email protected]>2019-05-16 13:06:57 -0400
commit07c83d25fd1c44dbc37677bc0e0ed2a567e900ff (patch)
tree80793114177aea846ff8158519f6cc964e9193f6 /src/gallium/drivers/radeonsi/si_perfcounter.c
parentce264d19a05f6b74403a8b4b2e1e3ee281897764 (diff)
radeonsi: add a cs parameter into si_cp_copy_data
Tested-by: Dieter Nützel <[email protected]> Acked-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.c2
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 c777dc0ae49..ad7f1eb3d99 100644
--- a/src/gallium/drivers/radeonsi/si_perfcounter.c
+++ b/src/gallium/drivers/radeonsi/si_perfcounter.c
@@ -671,7 +671,7 @@ static void si_pc_emit_start(struct si_context *sctx,
{
struct radeon_cmdbuf *cs = sctx->gfx_cs;
- si_cp_copy_data(sctx,
+ si_cp_copy_data(sctx, sctx->gfx_cs,
COPY_DATA_DST_MEM, buffer, va - buffer->gpu_address,
COPY_DATA_IMM, NULL, 1);