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

Gurchetan Singh gurchetansingh at chromium.org
Mon Jun 22 23:56:16 UTC 2020


On Mon, Jun 15, 2020 at 12:21 AM Gerd Hoffmann <kraxel at redhat.com> wrote:
>
> 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.

Done -- sent out "drm/virtio: Revert "drm/virtio: Call the right shmem
helpers" ".

>
> thanks,
>   Gerd
>


More information about the dri-devel mailing list