aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
diff options
context:
space:
mode:
authorNavid Emamdoost <[email protected]>2020-06-14 07:12:29 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:22 +0000
commit9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6 (patch)
tree4b7164d53dc68c3ad434d0af84b6fc8d40647f56 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c
parentdrm/radeon: fix multiple reference count leak (diff)
downloadkernel-9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6.tar.gz
kernel-9ba8923cbbe11564dd1bf9f3602add9a9cfbb5c6.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c')
0 files changed, 0 insertions, 0 deletions