linux/drivers/gpu/drm/etnaviv
Uwe Kleine-König d437dab5b0 drm/etnaviv: Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is (mostly) ignored
and this typically results in resource leaks. To improve here there is a
quest to make the remove callback return void. In the first step of this
quest all drivers are converted to .remove_new() which already returns
void.

Trivially convert the etnaviv drm driver from always returning zero in
the remove callback to the void returning variant.

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jyri Sarha <jyri.sarha@iki.fi>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231102165640.3307820-25-u.kleine-koenig@pengutronix.de
2023-11-21 09:17:54 +01:00
..
cmdstream.xml.h
common.xml.h
etnaviv_buffer.c drm/etnaviv: slow down FE idle polling 2023-06-21 15:18:14 +02:00
etnaviv_cmd_parser.c
etnaviv_cmdbuf.c drm/etnaviv: drop GPU initialized property 2023-07-17 11:32:31 +02:00
etnaviv_cmdbuf.h
etnaviv_drv.c drm/etnaviv: Convert to platform remove callback returning void 2023-11-21 09:17:54 +01:00
etnaviv_drv.h drm/etnaviv: allocate unique ID per drm_file 2023-02-07 20:49:54 +01:00
etnaviv_dump.c drm/etnaviv: fix dumping of active MMU context 2023-07-17 11:28:39 +02:00
etnaviv_dump.h
etnaviv_gem_prime.c drm/etnaviv: fix reference leak when mmaping imported buffer 2023-03-30 17:47:05 +02:00
etnaviv_gem_submit.c drm/sched: implement dynamic job-flow control 2023-11-10 02:54:29 +01:00
etnaviv_gem.c mm: replace vma->vm_flags direct modifications with modifier calls 2023-02-09 16:51:39 -08:00
etnaviv_gem.h drm/etnaviv: move runtime PM handling to events 2023-07-17 11:32:13 +02:00
etnaviv_gpu.c drm/etnaviv: Convert to platform remove callback returning void 2023-11-21 09:17:54 +01:00
etnaviv_gpu.h drm/etnaviv: expedited MMU fault handling 2023-07-17 11:32:34 +02:00
etnaviv_hwdb.c drm/etnaviv: add HWDB entry for GC520 r5341 c204 2023-07-17 11:29:16 +02:00
etnaviv_iommu_v2.c
etnaviv_iommu.c
etnaviv_mmu.c drm/etnaviv: drop GPU initialized property 2023-07-17 11:32:31 +02:00
etnaviv_mmu.h drm/etnaviv: move idle mapping reaping into separate function 2022-08-26 21:36:47 +02:00
etnaviv_perfmon.c
etnaviv_perfmon.h
etnaviv_sched.c drm/sched: Convert drm scheduler to use a work queue rather than kthread 2023-11-01 17:29:21 -04:00
etnaviv_sched.h
Kconfig
Makefile
state_3d.xml.h
state_blt.xml.h
state_hi.xml.h drm/etnaviv: update hardware headers from rnndb 2023-02-01 16:32:26 +01:00
state.xml.h