summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-05-27 10:22:47 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-06-03 21:03:58 -0400
commite176fe176d3a02d9409e0f36502799083ae13e1b (patch)
treec221f5518ed85fa89828a170aff55bdc80f0a221 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parent8dacc127fcb3b60e6893ec74ee2f615d78dcbc4e (diff)
downloadlinux-e176fe176d3a02d9409e0f36502799083ae13e1b.tar.gz
linux-e176fe176d3a02d9409e0f36502799083ae13e1b.tar.bz2
linux-e176fe176d3a02d9409e0f36502799083ae13e1b.zip
drm/amdgpu: remove mclk_lock
Not needed any more. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
index 89782543f854..605a9e42f943 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -581,7 +581,6 @@ force:
}
mutex_lock(&adev->ddev->struct_mutex);
- down_write(&adev->pm.mclk_lock);
mutex_lock(&adev->ring_lock);
/* update whether vce is active */
@@ -629,7 +628,6 @@ force:
done:
mutex_unlock(&adev->ring_lock);
- up_write(&adev->pm.mclk_lock);
mutex_unlock(&adev->ddev->struct_mutex);
}