linux-uconsole/drivers/gpu
Navid Emamdoost f93736e489 drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
[ Upstream commit f79f94765f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-09-03 11:24:19 +02:00
..
drm drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails 2020-09-03 11:24:19 +02:00
host1x gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 2020-08-19 08:14:52 +02:00
ipu-v3 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers 2020-08-21 11:05:35 +02:00
vga vga_switcheroo: Fix missing gpu_bound call at audio client registration 2018-11-13 11:09:00 -08:00
Makefile