mirror_ubuntu-kernels/drivers/gpu/drm/amd
Alex Deucher 1c1ada37af drm/amdkfd: 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.

Reviewed-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-07-01 01:59:23 -04:00
..
acp drm: amd/acp: fix broken menu structure 2020-03-13 11:52:35 -04:00
amdgpu drm/amdgpu/fence: fix ref count leak when pm_runtime_get_sync fails 2020-07-01 01:59:22 -04:00
amdkfd drm/amdkfd: fix ref count leak when pm_runtime_get_sync fails 2020-07-01 01:59:23 -04:00
display drm/amd/display: Update DCN3 bounding box 2020-07-01 01:59:22 -04:00
include drm/amd/amdgpu: Fix offset for SQ_DEBUG_STS_GLOBAL on gfx10 (v2) 2020-07-01 01:59:22 -04:00
powerplay drm/amd/smu: unify smu ppt callback macros 2020-07-01 01:59:22 -04:00