summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/soc15.c
diff options
context:
space:
mode:
authorRex Zhu <Rex.Zhu@amd.com>2018-05-17 11:13:51 +0800
committerAlex Deucher <alexander.deucher@amd.com>2018-05-24 10:07:51 -0500
commit79953a60e4476be90fa1767fbf49a76b6a8b01ef (patch)
tree76bef1b00350ed3c56875171a0102d496691eb41 /drivers/gpu/drm/amd/amdgpu/soc15.c
parentc9dc5abb661b02239eef6cd991700707dc381110 (diff)
downloadlinux-stable-79953a60e4476be90fa1767fbf49a76b6a8b01ef.tar.gz
linux-stable-79953a60e4476be90fa1767fbf49a76b6a8b01ef.tar.bz2
linux-stable-79953a60e4476be90fa1767fbf49a76b6a8b01ef.zip
drm/amdgpu: Enable VCN CG by default on RV
Enable VCN clockgating by default on Raven. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Rex Zhu <Rex.Zhu@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 0e4f67e4c875..2cf9a188131d 100644
--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
+++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
@@ -710,7 +710,8 @@ static int soc15_common_early_init(void *handle)
AMD_CG_SUPPORT_MC_MGCG |
AMD_CG_SUPPORT_MC_LS |
AMD_CG_SUPPORT_SDMA_MGCG |
- AMD_CG_SUPPORT_SDMA_LS;
+ AMD_CG_SUPPORT_SDMA_LS |
+ AMD_CG_SUPPORT_VCN_MGCG;
adev->pg_flags = AMD_PG_SUPPORT_SDMA;
if (adev->powerplay.pp_feature & PP_GFXOFF_MASK)