[PATCH 4/4] drm/gem: Inline drm_gem_pin() into PRIME helpers
Dmitry Osipenko
dmitry.osipenko at collabora.com
Mon Apr 14 10:37:34 UTC 2025
On 4/4/25 16:23, Thomas Zimmermann wrote:
> diff --git a/include/drm/drm_gem.h b/include/drm/drm_gem.h
> index 9b71f7a9f3f8a..498485f4501f9 100644
> --- a/include/drm/drm_gem.h
> +++ b/include/drm/drm_gem.h
> @@ -126,7 +126,8 @@ struct drm_gem_object_funcs {
> /**
> * @pin:
> *
> - * Pin backing buffer in memory. Used by the drm_gem_map_attach() helper.
> + * Pin backing buffer in memory, such that importers can access it.
Saying `such that dma-buf importers` would make it more clear that this
is about dma-bufs, IMO. Otherwise looks good.
Reviewed-by: Dmitry Osipenko <dmitry.osipenko at collabora.com>
--
Best regards,
Dmitry
More information about the dri-devel
mailing list