Displaying 2 results from an estimated 2 matches for "virtio_f_platform_access".
2020 Jun 08
0
[PATCH v3 4/4] drm/virtio: Support virtgpu exported resources
...A API is bypassed, right?
> > Rather than worry what does it mean, how about just
> > disabling this feature without PLATFORM_DMA for now?
>
> By PLATFORM_DMA, do you mean CONFIG_DMA_SHARED_BUFFER?
Sorry, no. I mean VIRTIO_F_IOMMU_PLATFORM which in the
future will be renamed to VIRTIO_F_PLATFORM_ACCESS.
> Virtio-gpu
> depends on DRM, which selects that feature. So I think DMA bufs should
> always be available when virtio-gpu is present.
>
> -David
2020 Jun 08
0
[PATCH v3 4/4] drm/virtio: Support virtgpu exported resources
...does it mean, how about just
> > > > disabling this feature without PLATFORM_DMA for now?
> > >
> > > By PLATFORM_DMA, do you mean CONFIG_DMA_SHARED_BUFFER?
> >
> > Sorry, no. I mean VIRTIO_F_IOMMU_PLATFORM which in the
> > future will be renamed to VIRTIO_F_PLATFORM_ACCESS.
>
> Shouldn't things work independent of whether or not that feature is
> set? If a virtio driver properly uses the dma_buf APIs (which virtgpu
> seems to), then that should take care of any mapping/synchronization
> related to VIRTIO_F_IOMMU_PLATFORM. If anything, the case whe...