Skip to contentSkip to conversation

amdgpu/test: Enable deadlock test for CI family (gfx7)

PATCH In review Andrey Grodzovsky 3 participants 3 messages Dec 11, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 amdgpu/test: Enable deadlock test for CI family (gfx7)

I retested GPU recovery with Bonaire ASIC and it works.

---
 tests/amdgpu/deadlock_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/deadlock_tests.c +2 -1
index 6bd36aa..a6c2635 100644
@@ -124,7 +124,8 @@ CU_BOOL suite_deadlock_tests_enable(void)
 	 * by default (currently GFX8/9 dGPUS)
 	 */
 	if (device_handle->info.family_id != AMDGPU_FAMILY_VI &&
-	    device_handle->info.family_id != AMDGPU_FAMILY_AI) {
+	    device_handle->info.family_id != AMDGPU_FAMILY_AI &&
+	    device_handle->info.family_id != AMDGPU_FAMILY_CI) {
 		printf("\n\nGPU reset is not enabled for the ASIC, deadlock suite disabled\n");
 		enable = CU_FALSE;
 	}
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): 1544559201-3036-1-git-send-email-andrey.grodzovsky-5C7GfCeVMHo@public.gmane.org

Reviewed-by
#2 lore raw
Quoted 4 lines · Andrey Grodzovsky

I retested GPU recovery with Bonaire ASIC and it works.

Care to enable it in the kernel as well?

Alex

Quoted 21 lines
---
 tests/amdgpu/deadlock_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/deadlock_tests.c +2 -2
index 6bd36aa..a6c2635 100644
@@ -124,7 +124,8 @@ CU_BOOL suite_deadlock_tests_enable(void)
         * by default (currently GFX8/9 dGPUS)
         */
        if (device_handle->info.family_id != AMDGPU_FAMILY_VI &&
-           device_handle->info.family_id != AMDGPU_FAMILY_AI) {
+           device_handle->info.family_id != AMDGPU_FAMILY_AI &&
+           device_handle->info.family_id != AMDGPU_FAMILY_CI) {
                printf("\n\nGPU reset is not enabled for the ASIC, deadlock suite disabled\n");
                enable = CU_FALSE;
        }
--

2.7.4

Quoted 4 lines

_______________________________________________
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

#3 lore raw

np

Andrey

Quoted 32 lines · Alex Deucher
Quoted 3 lines · Andrey Grodzovsky

I retested GPU recovery with Bonaire ASIC and it works.

Care to enable it in the kernel as well?

Alex

Quoted 21 lines
---
  tests/amdgpu/deadlock_tests.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
tests/amdgpu/deadlock_tests.c +2 -2
index 6bd36aa..a6c2635 100644
@@ -124,7 +124,8 @@ CU_BOOL suite_deadlock_tests_enable(void)
          * by default (currently GFX8/9 dGPUS)
          */
         if (device_handle->info.family_id != AMDGPU_FAMILY_VI &&
-           device_handle->info.family_id != AMDGPU_FAMILY_AI) {
+           device_handle->info.family_id != AMDGPU_FAMILY_AI &&
+           device_handle->info.family_id != AMDGPU_FAMILY_CI) {
                 printf("\n\nGPU reset is not enabled for the ASIC, deadlock suite disabled\n");
                 enable = CU_FALSE;
         }
--

2.7.4

Quoted 4 lines
Quoted 4 lines

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

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