diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2020-05-15 11:50:49 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2020-05-19 23:31:30 +0200 |
commit | 1a9458aeb8eb48bfa5f9b3e7682bddc28fd0b85e (patch) | |
tree | 3c2517226acde9ad1e2182f77f88bcb0ed5c0128 /include/drm/drm_gem.h | |
parent | drm/gma500: Use lockless gem BO free callback (diff) | |
download | linux-1a9458aeb8eb48bfa5f9b3e7682bddc28fd0b85e.tar.xz linux-1a9458aeb8eb48bfa5f9b3e7682bddc28fd0b85e.zip |
drm: remove drm_driver::gem_free_object
No drivers set the callback, so remove it all together.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515095118.2743122-10-emil.l.velikov@gmail.com
Diffstat (limited to 'include/drm/drm_gem.h')
-rw-r--r-- | include/drm/drm_gem.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h index 0b375069cd48..ec2d24a60a76 100644 --- a/include/drm/drm_gem.h +++ b/include/drm/drm_gem.h @@ -272,8 +272,9 @@ struct drm_gem_object { * attachment point for the device. This is invariant over the lifetime * of a gem object. * - * The &drm_driver.gem_free_object callback is responsible for cleaning - * up the dma_buf attachment and references acquired at import time. + * The &drm_driver.gem_free_object_unlocked callback is responsible for + * cleaning up the dma_buf attachment and references acquired at import + * time. * * Note that the drm gem/prime core does not depend upon drivers setting * this field any more. So for drivers where this doesn't make sense |