[PATCH] drm/amdgpu: Enable SDMA MGCG for Vangogh

Huang Rui ray.huang at amd.com
Wed Feb 24 06:27:25 UTC 2021


On Wed, Feb 24, 2021 at 01:33:19PM +0800, Su, Jinzhou (Joe) wrote:
> Add AMD_CG_SUPPORT_SDMA_MGCG for Vangogh
> 
> Signed-off-by: Jinzhou Su <Jinzhou.Su at amd.com>

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

> ---
>  drivers/gpu/drm/amd/amdgpu/nv.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
> index 160fa5f59805..393a0d5905ab 100644
> --- a/drivers/gpu/drm/amd/amdgpu/nv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/nv.c
> @@ -1003,6 +1003,7 @@ static int nv_common_early_init(void *handle)
>  			AMD_CG_SUPPORT_MC_LS |
>  			AMD_CG_SUPPORT_GFX_FGCG |
>  			AMD_CG_SUPPORT_VCN_MGCG |
> +			AMD_CG_SUPPORT_SDMA_MGCG |
>  			AMD_CG_SUPPORT_JPEG_MGCG;
>  		adev->pg_flags = AMD_PG_SUPPORT_GFX_PG |
>  			AMD_PG_SUPPORT_VCN |
> -- 
> 2.17.1
> 


More information about the amd-gfx mailing list