aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Liu <[email protected]>2021-01-07 09:38:04 +0800
committerAlex Deucher <[email protected]>2021-06-04 16:03:14 -0400
commitfd0a316e21c2eea6e200e570b0d9cb600ad3e748 (patch)
tree4c0162e46f44cc24669a71770007770ce825c5c2
parent83ae09b52fc1da2d0082708f5561e50417c2e8c8 (diff)
drm/amdgpu: add GFX Power Gating support for yellow carp
Add GFX Power Gating support. Signed-off-by: Aaron Liu <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.c b/drivers/gpu/drm/amd/amdgpu/nv.c
index e9e6ac40e75b..3ffb8095fbb3 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/drivers/gpu/drm/amd/amdgpu/nv.c
@@ -1336,7 +1336,7 @@ static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_GFX_FGCG |
AMD_CG_SUPPORT_MC_MGCG |
AMD_CG_SUPPORT_MC_LS;
- adev->pg_flags = 0;
+ adev->pg_flags = AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x01;
break;
default: