summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_managed.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2020-03-23 15:49:18 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2020-03-26 15:26:52 +0100
commit5dad34f3c4442962fe93f4d583b774af2484c2f2 (patch)
tree8ff6b8b6212b02efb360f0e8c755919ab98ec62d /drivers/gpu/drm/drm_managed.c
parent780e41edf8908eed5db956508b9f114acba4392d (diff)
downloadlwn-5dad34f3c4442962fe93f4d583b774af2484c2f2.tar.gz
lwn-5dad34f3c4442962fe93f4d583b774af2484c2f2.zip
drm: Cleanups after drmm_add_final_kfree rollout
A few things: - Update the example driver in the documentation. - We can drop the old kfree in drm_dev_release. - Add a WARN_ON check in drm_dev_register to make sure everyone calls drmm_add_final_kfree and there's no leaks. v2: Restore the full cleanup, I accidentally left some moved code behind when fixing the bisectability of the series. Acked-by: Sam Ravnborg <sam@ravnborg.org> Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200323144950.3018436-20-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/gpu/drm/drm_managed.c')
0 files changed, 0 insertions, 0 deletions