aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorAditya Pakki <[email protected]>2020-06-14 02:21:22 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:22 +0000
commit9fb10671011143d15b6b40d6d5fa9c52c57e9d63 (patch)
tree9d95ded0889b96230f33f8e9ff14c004333c4f2d /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentdrm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails (diff)
downloadkernel-9fb10671011143d15b6b40d6d5fa9c52c57e9d63.tar.gz
kernel-9fb10671011143d15b6b40d6d5fa9c52c57e9d63.zip
drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync
On calling pm_runtime_get_sync() the reference count of the device is incremented. In case of failure, decrement the reference count before returning the error. Acked-by: Evan Quan <[email protected]> Signed-off-by: Aditya Pakki <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions