summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-08-02 15:21:46 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:40:58 -0500
commitde273070c59385e9f6108f0be1e3225ec03eba54 (patch)
treea8cb5103b9cd2d4c6ba872fba839c767088fb8aa /drivers/gpu/drm/amd/amdgpu/soc15.c
parent9deac0a415e0e4718115201435c930df88f83730 (diff)
downloadtalos-op-linux-de273070c59385e9f6108f0be1e3225ec03eba54.tar.gz
talos-op-linux-de273070c59385e9f6108f0be1e3225ec03eba54.zip
drm/amdgpu: enable rom clock gating for rn
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/soc15.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/soc15.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
index bfc14875097a..d919ccc91c73 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -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;
OpenPOWER on IntegriCloud