diff options
author | 2022-04-07 01:31:32 -0400 | |
---|---|---|
committer | 2022-05-04 09:58:59 -0400 | |
commit | a6dec8684079e38edc36c6f2f285d88985d5a4d1 (patch) | |
tree | dc487c6979188f9ffa6639efc5e99313e8d8383f | |
parent | drm/amd/smu: Update SMU13 support for SMU 13.0.0 (diff) | |
download | linux-dev-a6dec8684079e38edc36c6f2f285d88985d5a4d1.tar.xz linux-dev-a6dec8684079e38edc36c6f2f285d88985d5a4d1.zip |
drm/amdgpu/soc21: enable ATHUB and MMHUB PG
Enable ATHUB and MMHUB powergating.
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index a139fd1d3127..c3069f5e299a 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -476,7 +476,8 @@ static int soc21_common_early_init(void *handle) switch (adev->ip_versions[GC_HWIP][0]) { case IP_VERSION(11, 0, 0): adev->cg_flags = 0; - adev->pg_flags = 0; + adev->pg_flags = AMD_PG_SUPPORT_ATHUB | + AMD_PG_SUPPORT_MMHUB; adev->external_rev_id = adev->rev_id + 0x1; // TODO: need update break; default: |