diff mbox series

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

Message ID 1544559201-3036-1-git-send-email-andrey.grodzovsky@amd.com (mailing list archive)
State New, archived
Headers show
Series [libdrm] amdgpu/test: Enable deadlock test for CI family (gfx7) | expand

Commit Message

Andrey Grodzovsky Dec. 11, 2018, 8:13 p.m. UTC
I retested GPU recovery with  Bonaire ASIC and it works.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
---
 tests/amdgpu/deadlock_tests.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Alex Deucher Dec. 11, 2018, 8:18 p.m. UTC | #1
On Tue, Dec 11, 2018 at 3:13 PM Andrey Grodzovsky
<andrey.grodzovsky@amd.com> wrote:
>
> I retested GPU recovery with  Bonaire ASIC and it works.
>
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>

Care to enable it in the kernel as well?

Alex

> ---
>  tests/amdgpu/deadlock_tests.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c
> index 6bd36aa..a6c2635 100644
> --- a/tests/amdgpu/deadlock_tests.c
> +++ b/tests/amdgpu/deadlock_tests.c
> @@ -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
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Andrey Grodzovsky Dec. 11, 2018, 8:19 p.m. UTC | #2
np

Andrey


On 12/11/2018 03:18 PM, Alex Deucher wrote:
> On Tue, Dec 11, 2018 at 3:13 PM Andrey Grodzovsky
> <andrey.grodzovsky@amd.com> wrote:
>> I retested GPU recovery with  Bonaire ASIC and it works.
>>
>> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
>
> Care to enable it in the kernel as well?
>
> Alex
>
>> ---
>>   tests/amdgpu/deadlock_tests.c | 3 ++-
>>   1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c
>> index 6bd36aa..a6c2635 100644
>> --- a/tests/amdgpu/deadlock_tests.c
>> +++ b/tests/amdgpu/deadlock_tests.c
>> @@ -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
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
diff mbox series

Patch

diff --git a/tests/amdgpu/deadlock_tests.c b/tests/amdgpu/deadlock_tests.c
index 6bd36aa..a6c2635 100644
--- a/tests/amdgpu/deadlock_tests.c
+++ b/tests/amdgpu/deadlock_tests.c
@@ -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;
 	}