[PATCH 7/8] tests/amdgpu: Add UMQ submission tests for gfx and compute
Sunil Khatri
sunil.khatri at amd.com
Thu Jan 16 06:52:10 UTC 2025
We already have the gfx and compute ip user mode submission
support added in the IGT and hence with this patch we are
adding a new test case for gfx and compute using UMQ
submission.
Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
Reviewed-by: Vitaly Prosyak vitaly.prosyak at amd.com>
---
tests/amdgpu/amd_basic.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tests/amdgpu/amd_basic.c b/tests/amdgpu/amd_basic.c
index b05633b8e..2b339c74b 100644
--- a/tests/amdgpu/amd_basic.c
+++ b/tests/amdgpu/amd_basic.c
@@ -747,6 +747,22 @@ igt_main
}
}
+ igt_describe("Check-GFX-CS-for-every-available-ring-works-for-write-const-fill-and-copy-operation-using-more-than-one-IB-and-shared-IB");
+ igt_subtest_with_dynamic("cs-gfx-with-IP-GFX-UMQ") {
+ if (arr_cap[AMD_IP_GFX]) {
+ igt_dynamic_f("cs-gfx-with-umq")
+ amdgpu_command_submission_gfx(device, info.hw_ip_version_major < 11, true);
+ }
+ }
+
+ igt_describe("Check-COMPUTE-CS-for-every-available-ring-works-for-write-const-fill-copy-and-nop-operation");
+ igt_subtest_with_dynamic("cs-compute-with-IP-COMPUTE-UMQ") {
+ if (arr_cap[AMD_IP_COMPUTE]) {
+ igt_dynamic_f("cs-compute-with-umq")
+ amdgpu_command_submission_compute(device, true);
+ }
+ }
+
igt_fixture {
amdgpu_device_deinitialize(device);
drm_close_driver(fd);
--
2.34.1
More information about the igt-dev
mailing list