linux/drivers/gpu/drm/v3d
Iago Toral Quiroga 0d352a3a8a drm/v3d: don't leak bin job if v3d_job_init fails.
If the initialization of the job fails we need to kfree() it
before returning.

Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190916071125.5255-1-itoral@igalia.com
Fixes: a783a09ee7 ("drm/v3d: Refactor job management.")
Reviewed-by: Eric Anholt <eric@anholt.net>
2019-09-18 10:30:44 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
v3d_bo.c drm/v3d: fix a NULL vs error pointer mixup 2019-04-01 09:33:38 -07:00
v3d_debugfs.c drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_drv.c drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_drv.h drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_fence.c drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00
v3d_gem.c drm/v3d: don't leak bin job if v3d_job_init fails. 2019-09-18 10:30:44 -07:00
v3d_irq.c drm/v3d: drop use of drmP.h 2019-07-17 12:52:20 +02:00
v3d_mmu.c drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_regs.h drm/v3d: Fix and extend MMU error handling. 2019-05-16 09:24:52 -07:00
v3d_sched.c drm/scheduler: rework job destruction 2019-05-02 15:45:48 -05:00
v3d_trace_points.c
v3d_trace.h drm/v3d: Add support for compute shader dispatch. 2019-04-18 09:54:10 -07:00