aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2020-06-14 02:12:29 -0500
committerAlex Deucher <[email protected]>2020-07-01 01:59:22 -0400
commit9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6 (patch)
tree4b7164d53dc68c3ad434d0af84b6fc8d40647f56 /tools/perf/scripts/python/intel-pt-events.py
parent6f2e8acdb48ed166b65d47837c31b177460491ec (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/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions