drm/amd/soc21: enable mmhub and athub power gating
authorKenneth Feng <kenneth.feng@amd.com>
Fri, 15 Apr 2022 15:16:41 +0000 (11:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2022 20:53:44 +0000 (16:53 -0400)
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>
drivers/gpu/drm/amd/amdgpu/soc21.c

index 5d359b768c57153eac00c33ca69e8d9a55de042a..307a1da13557d99d7f32f45a9e01d7b0c8c06726 100644 (file)
@@ -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: