kernel_samsung_a53x/drivers/gpu/drm/lima
Zhipeng Lu e02f4e8748 drm/lima: fix a memleak in lima_heap_alloc
[ Upstream commit 04ae3eb470e52a3c41babe85ff8cee195e4dcbea ]

When lima_vm_map_bo fails, the resources need to be deallocated, or
there will be memleaks.

Fixes: 6aebc51d7aef ("drm/lima: support heap buffer creation")
Signed-off-by: Zhipeng Lu <alexious@zju.edu.cn>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117071328.3811480-1-alexious@zju.edu.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:51 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_bcast.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_bcast.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_ctx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_ctx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_devfreq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_devfreq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_device.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_device.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_dlbu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_dlbu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_drv.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_drv.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_dump.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_gem.c drm/lima: fix a memleak in lima_heap_alloc 2024-11-19 08:44:51 +01:00
lima_gem.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_gp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_gp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_l2_cache.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_l2_cache.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_mmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_mmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_pmu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_pmu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_pp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_pp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_sched.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_sched.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_trace.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_vm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lima_vm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00