summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/ci_dpm.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-09 23:32:50 +0200
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:51:13 -0400
commit5516ab86a873efc78fc356b0979294203f1cffb0 (patch)
tree21beab5c8a1ed7b06a749b363e1dfffe1fa2828e /drivers/gpu/drm/amd/amdgpu/ci_dpm.c
parentdb4448f78d5982997751120ca358c97a7f96e122 (diff)
downloadlinux-5516ab86a873efc78fc356b0979294203f1cffb0.tar.bz2
drm/amdgpu: don't grab dev->struct_mutex in pm functions
Similar to radeon, except that amdgpu doesn't even use struct_mutex to protect anything like the shared z buffer (sane gpu architecture, yay!). And the code already grabs the globa adev->ring_lock, so this code can't race with itself. Which makes struct_mutex completely redundnant. Remove it. Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ci_dpm.c')
0 files changed, 0 insertions, 0 deletions