Skip to contentSkip to conversation

tests/amdgpu: add the missing deactivation case for dispatch test

PATCH In review Le Ma 2 participants 2 messages Aug 5, 2019 1 message not in the archive

lore
Share & tools
lore

Le Ma

author
#0 lore raw

PATCH 1/1 tests/amdgpu: add the missing deactivation case for dispatch test

Change-Id I502cc5fde7f00e41d496bfba0963d4db20459e00
---
 tests/amdgpu/amdgpu_test.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
tests/amdgpu/amdgpu_test.c +5 -2
index a4ce8ce..dc54155 100644
@@ -472,9 +472,12 @@ static void amdgpu_disable_suites()
 			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
 
 	/* This test was ran on GFX9 only */
-	if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV)
-		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test", CU_FALSE))
+	if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV) {
+		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test (GFX)", CU_FALSE))
+			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
+		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test (Compute)", CU_FALSE))
 			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
+	}
 
 	/* This test was ran on GFX9 only */
 	if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV)
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): 1564971233-22109-1-git-send-email-le.ma-5C7GfCeVMHo@public.gmane.org

Reviewed-by Feifei Xu
#2 lore raw

-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Le Ma
Sent: Monday, August 5, 2019 10:14 AM
To: [email protected]
Cc: Ma, Le <[email protected]>
Subject: [PATCH libdrm 1/1] tests/amdgpu: add the missing deactivation case for dispatch test

Change-Id I502cc5fde7f00e41d496bfba0963d4db20459e00
---
 tests/amdgpu/amdgpu_test.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
tests/amdgpu/amdgpu_test.c +6 -2
@@ -472,9 +472,12 @@ static void amdgpu_disable_suites()
 			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
 
 	/* This test was ran on GFX9 only */
-	if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV)
-		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test", CU_FALSE))
+	if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV) {
+		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test (GFX)", CU_FALSE))
+			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
+		if (amdgpu_set_test_active(BASIC_TESTS_STR, "Dispatch Test 
+(Compute)", CU_FALSE))
 			fprintf(stderr, "test deactivation failed - %s\n", CU_get_error_msg());
+	}
 
 	/* This test was ran on GFX9 only */

if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV)
--
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx