AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amdgpu: Add GFX MGCG and MGLS for vangogh
@ 2020-10-28  9:59 Jinzhou.Su
  2020-10-28 11:49 ` Huang Rui
  0 siblings, 1 reply; 2+ messages in thread
From: Jinzhou.Su @ 2020-10-28  9:59 UTC (permalink / raw)
  To: amd-gfx; +Cc: Jinzhou.Su, ray.huang

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
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-28 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-28  9:59 [PATCH] amdgpu: Add GFX MGCG and MGLS for vangogh Jinzhou.Su
2020-10-28 11:49 ` Huang Rui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox