mirror_ubuntu-kernels/drivers/gpu/drm/amd
Navid Emamdoost f79f94765f drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
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 <navid.emamdoost@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-01 01:59:22 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails 2020-07-01 01:59:22 -04:00
amdkfd drm/amdkfd: Fix reference count leaks. 2020-07-01 01:59:21 -04:00
display drm/amd/display: Get num_chans from VBIOS table 2020-07-01 01:59:21 -04:00
include drm/amd/amdgpu: Fix SQ_DEBUG_STS_GLOBAL* registers 2020-07-01 01:59:21 -04:00
powerplay drm/amdgpu/sriov: Disable pm for multiple vf sriov 2020-07-01 01:59:19 -04:00