diff options
| author | Navid Emamdoost <[email protected]> | 2020-06-14 07:14:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-01 05:59:22 +0000 |
| commit | 5509ac65f2fe5aa3c0003237ec629ca55024307c (patch) | |
| tree | da141d3fe7f7e0f30df6bde72926b0e04fcfdb68 /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
| parent | drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms (diff) | |
| download | kernel-5509ac65f2fe5aa3c0003237ec629ca55024307c.tar.gz kernel-5509ac65f2fe5aa3c0003237ec629ca55024307c.zip | |
drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
in amdgpu_drm_ioctl 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
