drm/amd/amdgpu: Don't set VCE CG in startup
authorTom St Denis <tom.stdenis@amd.com>
Wed, 3 Aug 2016 14:15:48 +0000 (10:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:16 +0000 (11:33 -0400)
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>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c

index a9db5cbb622d2014f9e40f805ec998fee953cb13..311b384a02d3684ef4d798b1981aebc6e741d4c1 100644 (file)
@@ -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);