aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2020-05-20 15:30:37 +0200
committerPierre-Eric Pelloux-Prayer <[email protected]>2020-05-22 09:12:06 +0200
commitd92ab0e76319220919fccf98550db9adf4030313 (patch)
treee3b6ca310f37f89e5fff966140bdad6d821f16d3 /src/gallium/drivers/radeonsi
parentdddd91eef326dbcdaec2a7fee6fa429d1cf6542a (diff)
radeonsi: fix inversed arguments in si_test_gds_memory_management
clang warning: implicit conversion from enumeration type 'enum radeon_bo_usage' to different enumeration type 'enum radeon_bo_domain' Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5119>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c
index 832799de0d0..c370c659d1d 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.c
+++ b/src/gallium/drivers/radeonsi/si_pipe.c
@@ -853,7 +853,7 @@ static void si_test_gds_memory_management(struct si_context *sctx, unsigned allo
SI_CPDMA_SKIP_BO_LIST_UPDATE | SI_CPDMA_SKIP_CHECK_CS_SPACE | SI_CPDMA_SKIP_GFX_SYNC, 0,
0);
- ws->cs_add_buffer(cs[i], gds_bo[i], domain, RADEON_USAGE_READWRITE, 0);
+ ws->cs_add_buffer(cs[i], gds_bo[i], RADEON_USAGE_READWRITE, domain, 0);
ws->cs_flush(cs[i], PIPE_FLUSH_ASYNC, NULL);
}
}