[PATCH 2/2] drm/amdgpu: enable VCN DPG for Renoir

Liu, Leo Leo.Liu at amd.com
Thu Aug 15 18:27:18 UTC 2019


On 2019-08-15 2:19 p.m., Thai, Thong wrote:
> Enable VCN Dynamic Powergating on Renoir devices.
>
> This will also enable indirect SRAM loading of VCN firmware on Renoir.

This will enable indirect SRAM loading for VCN DPG mode initialization. 
With that fixed, the patch is:

Reviewed-by: Leo Liu <leo.liu at amd.com>


>
> Signed-off-by: Thong Thai <thong.thai at amd.com>
> ---
>   drivers/gpu/drm/amd/amdgpu/soc15.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 43a4418f0560..4d746325d7e6 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1038,7 +1038,9 @@ static int soc15_common_early_init(void *handle)
>   				 AMD_CG_SUPPORT_ATHUB_LS |
>   				 AMD_CG_SUPPORT_ATHUB_MGCG |
>   				 AMD_CG_SUPPORT_DF_MGCG;
> -		adev->pg_flags = AMD_PG_SUPPORT_SDMA;
> +		adev->pg_flags = AMD_PG_SUPPORT_SDMA |
> +				 AMD_PG_SUPPORT_VCN |
> +				 AMD_PG_SUPPORT_VCN_DPG;
>   		adev->external_rev_id = adev->rev_id + 0x91;
>   
>   		if (adev->pm.pp_feature & PP_GFXOFF_MASK)


More information about the amd-gfx mailing list