[PATCH 11/11] drm/nouveau: Test for imported buffers with drm_gem_is_imported()

Danilo Krummrich dakr at kernel.org
Mon Apr 14 18:57:16 UTC 2025


On 4/14/25 3:48 PM, Thomas Zimmermann wrote:
> Instead of testing import_attach for imported GEM buffers, invoke
> drm_gem_is_imported() to do the test. The helper tests the dma_buf
> itself while import_attach is just an artifact of the import. Prepares
> to make import_attach optional.
> 
> Signed-off-by: Thomas Zimmermann <tzimmermann at suse.de>
> Cc: Lyude Paul <lyude at redhat.com>
> Cc: Danilo Krummrich <dakr at kernel.org>
> Cc: dri-devel at lists.freedesktop.org
> Cc: nouveau at lists.freedesktop.org

Acked-by: Danilo Krummrich <dakr at kernel.org>


More information about the dri-devel mailing list