Star64_linux/drivers/gpu/drm
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
..
amd Merge tag 'amd-drm-next-5.7-2020-03-19' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-03-20 12:54:51 +10:00
arc
arm
armada
aspeed
ast
atmel-hlcdc
bochs
bridge drm/bridge: dw-hdmi: rework csc related functions 2020-03-24 21:14:38 +01:00
cirrus drm/cirrus: Use drmm_add_final_kfree 2020-03-26 15:18:06 +01:00
etnaviv Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2020-03-26 15:11:04 +01:00
exynos
fsl-dcu
gma500
hisilicon
i2c
i810
i915 drm/i915: Use drmm_add_final_kfree 2020-03-26 15:17:43 +01:00
imx
ingenic
lib
lima drm/lima: add trace point for tasks 2020-03-22 09:57:21 +08:00
mcde
mediatek Mediatek DRM Next for Linux 5.7 2020-03-20 13:08:38 +10:00
meson
mga
mgag200
msm
mxsfb
nouveau drm-misc-next for 5.7: 2020-03-19 11:01:58 +10:00
omapdrm
panel
panfrost
pl111
qxl drm/qxl: Use drmm_add_final_kfree 2020-03-26 14:50:05 +01:00
r128
radeon
rcar-du
rockchip drm/rockchip: Add support for afbc 2020-03-23 12:45:26 +01:00
savage
scheduler
selftests
shmobile
sis
sti
stm
sun4i drm/sun4i: Sort includes in VI and UI layer code 2020-03-24 21:13:35 +01:00
tdfx
tegra Merge remote-tracking branch 'drm/drm-next' into drm-misc-next 2020-03-26 15:11:04 +01:00
tidss
tilcdc
tiny drm/mipi_dbi: Use drmm_add_final_kfree in all drivers 2020-03-26 14:49:51 +01:00
ttm drm-misc-next for 5.7: 2020-03-19 11:01:58 +10:00
tve200
udl drm/udl: Use drmm_add_final_kfree 2020-03-26 14:49:58 +01:00
v3d drm/v3d: Use drmm_add_final_kfree 2020-03-26 15:18:11 +01:00
vboxvideo
vc4
vgem
via
virtio drm/virtio: fix OOB in virtio_gpu_object_create 2020-03-19 12:00:24 +01:00
vkms
vmwgfx drm/vmwgfx: Use vmwgfx version 2.18 to signal SM5 compatibility 2020-03-23 22:48:57 +01:00
xen drm: Set final_kfree in drm_dev_alloc 2020-03-26 14:49:37 +01:00
zte
drm_agpsupport.c
drm_atomic.c
drm_atomic_helper.c
drm_atomic_state_helper.c
drm_atomic_uapi.c
drm_auth.c
drm_blend.c
drm_bridge.c
drm_bridge_connector.c
drm_bufs.c
drm_cache.c
drm_client.c
drm_client_modeset.c
drm_color_mgmt.c
drm_connector.c
drm_context.c
drm_crtc.c
drm_crtc_helper.c
drm_crtc_helper_internal.h
drm_crtc_internal.h
drm_damage_helper.c
drm_debugfs.c
drm_debugfs_crc.c
drm_dma.c
drm_dp_aux_dev.c
drm_dp_cec.c
drm_dp_dual_mode_helper.c
drm_dp_helper.c UAPI Changes: 2020-03-19 10:40:27 +10:00
drm_dp_mst_topology.c drm-misc-next for 5.7: 2020-03-19 11:01:58 +10:00
drm_dp_mst_topology_internal.h
drm_drv.c drm: Set final_kfree in drm_dev_alloc 2020-03-26 14:49:37 +01:00
drm_dsc.c
drm_dumb_buffers.c
drm_edid.c
drm_edid_load.c
drm_encoder.c
drm_encoder_slave.c
drm_fb_cma_helper.c
drm_fb_helper.c
drm_file.c
drm_flip_work.c
drm_format_helper.c
drm_fourcc.c
drm_framebuffer.c
drm_gem.c
drm_gem_cma_helper.c
drm_gem_framebuffer_helper.c
drm_gem_shmem_helper.c
drm_gem_ttm_helper.c
drm_gem_vram_helper.c drm/vram-helper: remove unneeded #if defined/endif guards. 2020-03-23 15:56:59 +01:00
drm_hashtab.c
drm_hdcp.c
drm_internal.h drm: add managed resources tied to drm_device 2020-03-26 14:49:13 +01:00
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_kms_helper_common.c
drm_lease.c
drm_legacy.h
drm_legacy_misc.c
drm_lock.c
drm_managed.c drm: add managed resources tied to drm_device 2020-03-26 14:49:13 +01:00
drm_memory.c
drm_mipi_dbi.c drm/mipi_dbi: Use drmm_add_final_kfree in all drivers 2020-03-26 14:49:51 +01:00
drm_mipi_dsi.c
drm_mm.c
drm_mode_config.c
drm_mode_object.c
drm_modes.c
drm_modeset_helper.c
drm_modeset_lock.c
drm_of.c
drm_panel.c
drm_panel_orientation_quirks.c
drm_pci.c
drm_plane.c
drm_plane_helper.c
drm_prime.c
drm_print.c
drm_probe_helper.c
drm_property.c
drm_rect.c
drm_scatter.c
drm_scdc_helper.c
drm_self_refresh_helper.c
drm_simple_kms_helper.c
drm_syncobj.c
drm_sysfs.c
drm_trace.h
drm_trace_points.c
drm_vblank.c
drm_vm.c
drm_vma_manager.c
drm_vram_helper_common.c
drm_writeback.c
Kconfig
Makefile drm: add managed resources tied to drm_device 2020-03-26 14:49:13 +01:00