summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/soc21.c
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2022-04-15 18:16:41 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 23:53:44 +0300
commit27e3911c40f23730514900a6a47af1ab61665ac5 (patch)
treec4c0b1bfd758fe04f1aad0b3a6d8ad2b6341561e /drivers/gpu/drm/amd/amdgpu/soc21.c
parentfd32ce21f0af061b15d443e88e60124b37d607d9 (diff)
downloadlinux-27e3911c40f23730514900a6a47af1ab61665ac5.tar.xz
drm/amd/soc21: enable mmhub and athub power gating
add the pg_flag for athub and mmhub pg. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Jack Gui <Jack.Gui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc21.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc21.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c
index 5d359b768c57..307a1da13557 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc21.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc21.c
@@ -556,7 +556,9 @@ static int soc21_common_early_init(void *handle)
adev->pg_flags =
AMD_PG_SUPPORT_VCN |
AMD_PG_SUPPORT_VCN_DPG |
- AMD_PG_SUPPORT_JPEG;
+ AMD_PG_SUPPORT_JPEG |
+ AMD_PG_SUPPORT_ATHUB |
+ AMD_PG_SUPPORT_MMHUB;
adev->external_rev_id = adev->rev_id + 0x10;
break;
default: