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

Alex Deucher alexdeucher at gmail.com
Tue Dec 11 20:18:21 UTC 2018


On Tue, Dec 11, 2018 at 3:13 PM Andrey Grodzovsky
<andrey.grodzovsky at amd.com> wrote:
>
> I retested GPU recovery with  Bonaire ASIC and it works.
>
> Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky at amd.com>

Reviewed-by: Alex Deucher <alexander.deucher at 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list