amdgpu/test: Enable deadlock test for CI family (gfx7)
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
@@ -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
Alex Deucher
Reviewed-byQuoted 4 lines · Andrey Grodzovsky
I retested GPU recovery with Bonaire ASIC and it works.
Signed-off-by Andrey Grodzovsky <[email protected]>
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@@ -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
np
Andrey
Quoted 32 lines · Alex Deucher
Quoted 3 lines · Andrey Grodzovsky
I retested GPU recovery with Bonaire ASIC and it works.
Signed-off-by Andrey Grodzovsky <[email protected]>Reviewed-by Alex Deucher <[email protected]>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@@ -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