diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2020-06-14 02:09:44 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 11:19:23 +0200 |
| commit | 9b1e3b74c4e35eaaa2fc41c9bb805405c9390fa7 (patch) | |
| tree | 081c99a4b8b22d2112bc5f0bc18edd9581e8c5d2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 0d097bfa614a0b13224ddc4536c2a464f0e0b5fe (diff) | |
drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
[ Upstream commit e008fa6fb41544b63973a529b704ef342f47cc65 ]
in amdgpu_display_crtc_set_config, the call to pm_runtime_get_sync
increments the counter even in case of failure, leading to incorrect
ref count. In case of failure, decrement the ref count before returning.
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
