[PATCH] drm/amdgpu: enable gpu recovery for navy_flounder

Zhou1, Tao Tao.Zhou1 at amd.com
Mon Jan 11 10:15:30 UTC 2021


[AMD Public Use]

Reviewed-by: Tao Zhou <tao.zhou1 at amd.com>

> -----Original Message-----
> From: Jiansong Chen <Jiansong.Chen at amd.com>
> Sent: Monday, January 11, 2021 5:50 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhou1, Tao <Tao.Zhou1 at amd.com>; Zhang, Hawking
> <Hawking.Zhang at amd.com>; Chen, Jiansong (Simon)
> <Jiansong.Chen at amd.com>
> Subject: [PATCH] drm/amdgpu: enable gpu recovery for navy_flounder
> 
> Enable gpu recovery for navy_flounder by default to trigger reset once needed.
> 
> Signed-off-by: Jiansong Chen <Jiansong.Chen at amd.com>
> Change-Id: If213b4c7a5444872ec51869da53a374bf40db7fe
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> index 087afab67e22..dd67b589b4ab 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
> @@ -4206,6 +4206,7 @@ bool amdgpu_device_should_recover_gpu(struct
> amdgpu_device *adev)
>  		case CHIP_NAVI14:
>  		case CHIP_NAVI12:
>  		case CHIP_SIENNA_CICHLID:
> +		case CHIP_NAVY_FLOUNDER:
>  			break;
>  		default:
>  			goto disabled;
> --
> 2.25.1


More information about the amd-gfx mailing list