summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorTom St Denis <tom.stdenis@amd.com>2016-08-03 16:15:48 +0200
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 17:33:16 +0200
commit13d58d2a492269880e85d89e124edb814753fa37 (patch)
treeb95f087c7d704c444ff2a37eb5d92c2506cbfba2 /drivers/gpu/drm/amd
parentdrm/amd/amdgpu: Fix VCE CG order and resume defaults (diff)
downloadlinux-13d58d2a492269880e85d89e124edb814753fa37.tar.xz
linux-13d58d2a492269880e85d89e124edb814753fa37.zip
drm/amd/amdgpu: Don't set VCE CG in startup
It's handled by DPM/PP properly. Signed-off-by: Tom St Denis <tom.stdenis@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')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/vce_v3_0.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
index a9db5cbb622d..311b384a02d3 100644
--- a/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
@@ -285,10 +285,6 @@ static int vce_v3_0_start(struct amdgpu_device *adev)
/* clear BUSY flag */
WREG32_P(mmVCE_STATUS, 0, ~VCE_STATUS__JOB_BUSY_MASK);
- /* Set Clock-Gating off */
- if (adev->cg_flags & AMD_CG_SUPPORT_VCE_MGCG)
- vce_v3_0_set_vce_sw_clock_gating(adev, false);
-
if (r) {
DRM_ERROR("VCE not responding, giving up!!!\n");
mutex_unlock(&adev->grbm_idx_mutex);