Re: [PATCH 2/2] drm/virtio: Use dma_buf from GEM object instance

2025-04-15 Thread Dmitry Osipenko
On 4/14/25 16:12, Thomas Zimmermann wrote: > Avoid dereferencing struct drm_gem_object.import_attach for the > imported dma-buf. The dma_buf field in the GEM object instance refers > to the same buffer. Prepares to make import_attach optional. > > Signed-off-by: Thomas Zimmermann > --- > drivers

[PATCH 2/2] drm/virtio: Use dma_buf from GEM object instance

2025-04-14 Thread Thomas Zimmermann
Avoid dereferencing struct drm_gem_object.import_attach for the imported dma-buf. The dma_buf field in the GEM object instance refers to the same buffer. Prepares to make import_attach optional. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/virtio/virtgpu_prime.c | 5 ++--- 1 file changed