aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorAditya Pakki <[email protected]>2020-06-14 01:55:39 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:22 +0000
commit6f2e8acdb48ed166b65d47837c31b177460491ec (patch)
tree889f39ad9c4641bc39a58aa8dba58ab7f8c46b26 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentdrm/amdgpu/gfx9: Fix incorrect firmware size calculation (diff)
downloadkernel-6f2e8acdb48ed166b65d47837c31b177460491ec.tar.gz
kernel-6f2e8acdb48ed166b65d47837c31b177460491ec.zip
drm/radeon: fix multiple reference count leak
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. 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