aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorPrike Liang <Prike.Liang@amd.com>2019-08-02 15:24:45 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-08-22 17:40:58 -0500
commit753c929cc798530ec3a4aeb27b2ea7b06daac525 (patch)
tree9d9a21e63a0a30ca284db639dd3ac45e5612dfc0 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentdrm/amdgpu: enable rom clock gating for rn (diff)
downloadlinux-dev-753c929cc798530ec3a4aeb27b2ea7b06daac525.tar.xz
linux-dev-753c929cc798530ec3a4aeb27b2ea7b06daac525.zip
drm/amdgpu: enable vcn clock gating for rn
Enable VCN middle grain clock gating. Signed-off-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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 d919ccc91c73..4afa75e0c0e5 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -1168,7 +1168,8 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_SDMA_LS |
AMD_CG_SUPPORT_BIF_LS |
AMD_CG_SUPPORT_HDP_LS |
- AMD_CG_SUPPORT_ROM_MGCG;
+ AMD_CG_SUPPORT_ROM_MGCG |
+ AMD_CG_SUPPORT_VCN_MGCG;
adev->pg_flags = 0;
adev->external_rev_id = adev->rev_id + 0x91;