[PATCH] Revert "drm/virtio: drop prime import/export callbacks"

Gerd Hoffmann kraxel at redhat.com
Tue Apr 23 08:05:32 UTC 2019


  Hi,

> > The DRI3 code extensively uses prime_handle_to_fd and
> > prime_fd_to_handle for self-import.

The callbacks are not used for self-import.

> I believe the cap was removed because the driver only supports
> self-import.  But the driver only runs inside VMs where there is no(?)
> other dma-buf clients,

There can be other dma-buf clients even in a VM.

cheers,
  Gerd



More information about the dri-devel mailing list