diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 |
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 25b329f4b2d9..efed11509f4a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -580,7 +580,6 @@ force: | |||
580 | amdgpu_dpm_print_power_state(adev, adev->pm.dpm.requested_ps); | 580 | amdgpu_dpm_print_power_state(adev, adev->pm.dpm.requested_ps); |
581 | } | 581 | } |
582 | 582 | ||
583 | mutex_lock(&adev->ddev->struct_mutex); | ||
584 | mutex_lock(&adev->ring_lock); | 583 | mutex_lock(&adev->ring_lock); |
585 | 584 | ||
586 | /* update whether vce is active */ | 585 | /* update whether vce is active */ |
@@ -628,7 +627,6 @@ force: | |||
628 | 627 | ||
629 | done: | 628 | done: |
630 | mutex_unlock(&adev->ring_lock); | 629 | mutex_unlock(&adev->ring_lock); |
631 | mutex_unlock(&adev->ddev->struct_mutex); | ||
632 | } | 630 | } |
633 | 631 | ||
634 | void amdgpu_dpm_enable_uvd(struct amdgpu_device *adev, bool enable) | 632 | void amdgpu_dpm_enable_uvd(struct amdgpu_device *adev, bool enable) |