[PATCH 1/2] drm/shmem: add support for per object dma api operations

Gerd Hoffmann kraxel at redhat.com
Mon Jun 15 07:21:05 UTC 2020


On Fri, Jun 12, 2020 at 11:54:54AM -0700, Gurchetan Singh wrote:

> Plus, I just realized the virtio dma ops and ops used by drm shmem are
> different, so virtio would have to unconditionally have to skip the
> shmem path.  Perhaps the best policy is to revert d323bb44e4d2?

Reverting d323bb44e4d2 should work given that virtio-gpu doesn't support
dma-buf imports, but when doing so please add a comment to the code
explaining why virtio-gpu handles this different than everybody else.

thanks,
  Gerd



More information about the dri-devel mailing list