diff options
author | 2019-11-06 19:35:43 +0800 | |
---|---|---|
committer | 2019-11-06 16:27:48 -0500 | |
commit | 365f7f8db8a48c8c7ef63a1cc835f200e578757b (patch) | |
tree | c45cbfcee971e1a8ca3aaedf38509456cca7156e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/powerplay: fix struct init in renoir_print_clk_levels (diff) | |
download | linux-rng-365f7f8db8a48c8c7ef63a1cc835f200e578757b.tar.xz linux-rng-365f7f8db8a48c8c7ef63a1cc835f200e578757b.zip |
drm/amdgpu: fix double reference dropping
The reference to object fence is dropped at the end of the loop.
However, it is dropped again outside the loop. The reference can be
dropped immediately after calling dma_fence_wait() in the loop and
thus the dropping operation outside the loop can be removed.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions