linux_dsm_epyc7002/drivers/gpu/drm/v3d
Daniel Vetter ea3aa6203c drm/v3d: Use drmm_add_final_kfree
With this we can drop the final kfree from the release function.

I also noticed that the unwind code is wrong, after drm_dev_init the
drm_device owns the v3d allocation, so the kfree(v3d) is a double-free.
Reorder the setup to fix this issue.

After a bit more prep in drivers and drm core v3d should be able to
switch over to devm_drm_dev_init, which should clean this up further.

Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-11-daniel.vetter@ffwll.ch
2020-03-26 15:18:11 +01: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/shmem: switch shmem helper to &drm_gem_object_funcs.mmap 2019-10-17 13:59:16 +02:00
v3d_debugfs.c drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
v3d_drv.c drm/v3d: Use drmm_add_final_kfree 2020-03-26 15:18:11 +01:00
v3d_drv.h drm: convert .debugfs_init() hook to return void. 2020-03-18 17:53:28 +01:00
v3d_fence.c
v3d_gem.c Linux 5.4-rc7 2019-11-14 05:53:10 +10: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
v3d_trace_points.c
v3d_trace.h