diff options
author | 2017-04-03 21:42:42 +0300 | |
---|---|---|
committer | 2017-04-04 13:40:34 -0400 | |
commit | 99147e64428b9c3bfcd97e545ae478906c79e6a8 (patch) | |
tree | 220397e7dad636370d028a0554453d4d66ef5f05 /drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | |
parent | drm/amd/powerplay: fix pp_dpm_get_current_power_state() (v2) (diff) | |
download | wireguard-linux-99147e64428b9c3bfcd97e545ae478906c79e6a8.tar.xz wireguard-linux-99147e64428b9c3bfcd97e545ae478906c79e6a8.zip |
drm/amd/powerplay: fix a couple locking issues
We should return unlock on the error path in pp_dpm_dispatch_tasks()
and there is a double lock bug in pp_dpm_set_sclk_od().
Fixes: 2a5071056e6a ("drm/amd/powerplay: add global PowerPlay mutex.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c')
0 files changed, 0 insertions, 0 deletions