aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Jivin <alex.jivin@amd.com>2020-07-06 11:07:19 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-07-08 09:02:43 -0400
commitfa4a882008a71bf18a30c7f548572ecf19882fbd (patch)
treeddabe8681562a2569c0a56cd9a7621b069cfa2af /tools/perf/scripts/python
parentdrm/amd/display: Add missing reg mask for dcn3 (diff)
downloadlinux-fa4a882008a71bf18a30c7f548572ecf19882fbd.tar.gz
linux-fa4a882008a71bf18a30c7f548572ecf19882fbd.zip
drm/amdgpu: Move the mutex lock/unlock out
Move the mutext lock/unlock outside of the if(), as the mutex is always taken: either in the if() branch or in the else branch. Signed-off-by: Alex Jivin <alex.jivin@amd.com> Suggested-By: Luben Tukov <luben.tuikov@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions