Reviewed-by: Harry Wentland <harry.wentland at amd.com> On 2017-03-31 11:01 AM, Christian König wrote: > Am 31.03.2017 um 16:54 schrieb Alex Deucher: >> Fixes: 2a5071056e6a601e ("drm/amd/powerplay: add global PowerPlay >> mutex.") >> Reported-by: Julia Lawall <julia.lawall at lip6.fr> >> Signed-off-by: Alex Deucher <alexander.deucher at amd.com> > > Reviewed-by: Christian König <christian.koenig at amd.com> > >> --- >> drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c >> b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c >> index dfd4fe6..6f0ed07 100644 >> --- a/drivers/gpu/drm/amd/powerplay/amd_powerplay.c >> +++ b/drivers/gpu/drm/amd/powerplay/amd_powerplay.c >> @@ -894,7 +894,7 @@ static int pp_dpm_set_sclk_od(void *handle, >> uint32_t value) >> mutex_lock(&pp_handle->pp_lock); >> ret = hwmgr->hwmgr_func->set_sclk_od(hwmgr, value); >> - mutex_lock(&pp_handle->pp_lock); >> + mutex_unlock(&pp_handle->pp_lock); >> return ret; >> } >> > > > _______________________________________________ > amd-gfx mailing list > amd-gfx at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx