[PATCH 05/10] drm/amdgpu: drop mmRLC_PG_CNTL clear

Huang Rui ray.huang at amd.com
Thu Jul 5 15:07:52 UTC 2018


On Thu, Jul 05, 2018 at 05:09:30PM +0800, Evan Quan wrote:
> This may break gfxoff support since this register will
> be set by smc fw(for vega12, that's the case).
> 
> Change-Id: Id3108c63634a2f941289021bfbd78588c0f6c4d6
> Signed-off-by: Evan Quan <evan.quan at amd.com>

Reviewed-by: Huang Rui <ray.huang at amd.com>

> ---
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> index 8d870d4f8414..3a75641a071d 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
> @@ -2290,9 +2290,6 @@ static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev)
>  	/* disable CG */
>  	WREG32_SOC15(GC, 0, mmRLC_CGCG_CGLS_CTRL, 0);
>  
> -	/* disable PG */
> -	WREG32_SOC15(GC, 0, mmRLC_PG_CNTL, 0);
> -
>  	gfx_v9_0_rlc_reset(adev);
>  
>  	gfx_v9_0_init_pg(adev);
> -- 
> 2.18.0
> 
> _______________________________________________
> 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