aboutsummaryrefslogtreecommitdiffstats
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 04:22:47 -0400
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)
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:
581 } 581 }
582 582
583 mutex_lock(&adev->ddev->struct_mutex); 583 mutex_lock(&adev->ddev->struct_mutex);
584 down_write(&adev->pm.mclk_lock);
585 mutex_lock(&adev->ring_lock); 584 mutex_lock(&adev->ring_lock);
586 585
587 /* update whether vce is active */ 586 /* update whether vce is active */
@@ -629,7 +628,6 @@ force:
629 628
630done: 629done:
631 mutex_unlock(&adev->ring_lock); 630 mutex_unlock(&adev->ring_lock);
632 up_write(&adev->pm.mclk_lock);
633 mutex_unlock(&adev->ddev->struct_mutex); 631 mutex_unlock(&adev->ddev->struct_mutex);
634} 632}
635 633