]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amdgpu: enable rom clock gating for rn
authorPrike Liang <Prike.Liang@amd.com>
Fri, 2 Aug 2019 07:21:46 +0000 (15:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 22:40:58 +0000 (17:40 -0500)
Enable rom light sleep clock gating.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index bfc14875097ae24dea4af16fffeedec4514aa525..d919ccc91c732d696ccc528aa83be38a4b6c121a 100644 (file)
@@ -1167,7 +1167,8 @@ static int soc15_common_early_init(void *handle)
                                 AMD_CG_SUPPORT_SDMA_MGCG |
                                 AMD_CG_SUPPORT_SDMA_LS |
                                 AMD_CG_SUPPORT_BIF_LS |
-                                AMD_CG_SUPPORT_HDP_LS;
+                                AMD_CG_SUPPORT_HDP_LS |
+                                AMD_CG_SUPPORT_ROM_MGCG;
                adev->pg_flags = 0;
                adev->external_rev_id = adev->rev_id + 0x91;