diff options
| author | Navid Emamdoost <[email protected]> | 2020-06-14 02:12:29 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 01:59:22 -0400 |
| commit | 9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6 (patch) | |
| tree | 4b7164d53dc68c3ad434d0af84b6fc8d40647f56 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6f2e8acdb48ed166b65d47837c31b177460491ec (diff) | |
drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
in amdgpu_driver_open_kms 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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions