AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Huang Rui <ray.huang@amd.com>
To: "Su, Jinzhou (Joe)" <Jinzhou.Su@amd.com>
Cc: "amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] amdgpu: Add GFX MGCG and MGLS for vangogh
Date: Wed, 28 Oct 2020 19:49:05 +0800	[thread overview]
Message-ID: <20201028114905.GB1767271@hr-amd> (raw)
In-Reply-To: <20201028095945.2627-1-Jinzhou.Su@amd.com>

On Wed, Oct 28, 2020 at 05:59:45PM +0800, Su, Jinzhou (Joe) wrote:
> add GFX Medium Grain Light Sleep support for vangogh
> 
> add AMD_CG_SUPPORT_GFX_CP_LS and AMD_CG_SUPPORT_GFX_RLC_LS
> 
> v2:
>   add GFX Medium Grain Clock Gating
> 
> Signed-off-by: Jinzhou.Su <Jinzhou.Su@amd.com>
> Change-Id: I38f4e36a896915f39fd7c2673e0041244006d1b8
> ---

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

>  drivers/gpu/drm/amd/amdgpu/nv.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
> index c65b4462bf5e..026e0a8fd526 100644
> --- a/drivers/gpu/drm/amd/amdgpu/nv.c
> +++ b/drivers/gpu/drm/amd/amdgpu/nv.c
> @@ -943,7 +943,11 @@ static int nv_common_early_init(void *handle)
>  
>  	case CHIP_VANGOGH:
>  		adev->apu_flags |= AMD_APU_IS_VANGOGH;
> -		adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG |
> +		adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG |
> +			AMD_CG_SUPPORT_GFX_MGLS |
> +			AMD_CG_SUPPORT_GFX_CP_LS |
> +			AMD_CG_SUPPORT_GFX_RLC_LS |
> +			AMD_CG_SUPPORT_GFX_CGCG |
>  			AMD_CG_SUPPORT_GFX_CGLS |
>  			AMD_CG_SUPPORT_GFX_3D_CGCG |
>  			AMD_CG_SUPPORT_GFX_3D_CGLS |
> -- 
> 2.17.1
> 
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

      reply	other threads:[~2020-10-28 11:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28  9:59 [PATCH] amdgpu: Add GFX MGCG and MGLS for vangogh Jinzhou.Su
2020-10-28 11:49 ` Huang Rui [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201028114905.GB1767271@hr-amd \
    --to=ray.huang@amd.com \
    --cc=Jinzhou.Su@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox