Re: [PATCH 01/10] drm/gem: Test for imported GEM buffers with helper

2025-03-05 Thread Thomas Zimmermann
Am 28.02.25 um 17:04 schrieb Anusha Srivatsa: On Wed, Feb 26, 2025 at 12:28 PM Thomas Zimmermann wrote: Add drm_gem_is_imported() that tests if a GEM object's buffer has been imported. Update the GEM code accordingly. GEM code usually tests for imports if import_attach has b

Re: [PATCH 01/10] drm/gem: Test for imported GEM buffers with helper

2025-03-02 Thread Anusha Srivatsa
On Wed, Feb 26, 2025 at 12:28 PM Thomas Zimmermann wrote: > Add drm_gem_is_imported() that tests if a GEM object's buffer has > been imported. Update the GEM code accordingly. > > GEM code usually tests for imports if import_attach has been set > in struct drm_gem_object. But attaching a dma-buf

[PATCH 01/10] drm/gem: Test for imported GEM buffers with helper

2025-02-26 Thread Thomas Zimmermann
Add drm_gem_is_imported() that tests if a GEM object's buffer has been imported. Update the GEM code accordingly. GEM code usually tests for imports if import_attach has been set in struct drm_gem_object. But attaching a dma-buf on import requires a DMA-capable importer device, which is not the ca