Re: [PATCH 06/11] drm/vc4: Test for imported buffers with drm_gem_is_imported()

2025-04-24 Thread Dave Stevenson
On Mon, 14 Apr 2025 at 14:51, 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 optiona

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

2025-04-14 Thread Thomas Zimmermann
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 Cc: Maxime Ripard Cc: Dave