Files
android_kernel_xiaomi_sm8450/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
..
2020-03-02 09:22:43 +01:00
2020-03-26 15:17:43 +01:00
2020-03-22 09:57:21 +08:00
2020-03-02 09:22:49 +01:00
2020-03-26 14:50:05 +01:00
2020-03-26 14:49:58 +01:00
2020-03-26 15:18:11 +01:00
2020-03-26 14:49:37 +01:00
2020-03-16 09:26:18 +01:00
2020-01-14 16:22:17 -05:00
2020-03-16 09:27:09 +01:00
2020-03-09 09:22:50 +00:00
2020-03-18 14:48:34 +01:00