[PATCH] drm/amdgpu: disable gfxoff for navy_flounder

Zhou1, Tao Tao.Zhou1 at amd.com
Wed Aug 12 08:49:48 UTC 2020


[AMD Public Use]

Please remember to revert it when root cause is found out, the patch is:

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

> -----Original Message-----
> From: Jiansong Chen <Jiansong.Chen at amd.com>
> Sent: Wednesday, August 12, 2020 4:44 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Zhou1, Tao <Tao.Zhou1 at amd.com>; Feng, Kenneth
> <Kenneth.Feng at amd.com>; Chen, Jiansong (Simon) <Jiansong.Chen at amd.com>
> Subject: [PATCH] drm/amdgpu: disable gfxoff for navy_flounder
> 
> gfxoff is temporarily disabled for navy_flounder, since at present the feature has
> broken some basic amdgpu test.
> 
> Signed-off-by: Jiansong Chen <Jiansong.Chen at amd.com>
> Change-Id: Icc030370997a66fb9f01cdd4b1c45816e3c88584
> ---
>  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 d851fe80eaf4..de6e6de41867 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