[PATCH] drm/amdgpu: disable gfxoff temporarily for navy_flounder

Zhou1, Tao Tao.Zhou1 at amd.com
Wed Sep 30 07:54:20 UTC 2020


[AMD Public Use]

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

> -----Original Message-----
> From: Jiansong Chen <Jiansong.Chen at amd.com>
> Sent: Wednesday, September 30, 2020 3:37 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: disable gfxoff temporarily for navy_flounder
> 
> gfxoff is temporarily disabled for navy_flounder, since at present the feature
> caused some tdr when performing display operation.
> 
> Signed-off-by: Jiansong Chen <Jiansong.Chen at amd.com>
> Change-Id: Ib2be4041f82a3f5e12c657541c516815c8eb3670
> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> index 17fb2efdadd3..9792ec737029 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
> @@ -3610,6 +3610,9 @@ static void gfx_v10_0_check_gfxoff_flag(struct
> amdgpu_device *adev)
>  		if (!gfx_v10_0_navi10_gfxoff_should_enable(adev))
>  			adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
>  		break;
> +	case CHIP_NAVY_FLOUNDER:
> +		adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
> +		break;
>  	default:
>  		break;
>  	}
> --
> 2.25.1


More information about the amd-gfx mailing list