Displaying 4 results from an estimated 4 matches for "jiandi".
Did you mean:
jandi
2018 Sep 10
0
[RFC 0/4] Virtio uses DMA API for all devices
On Thu, Sep 06, 2018 at 07:09:09PM -0500, Jiandi An wrote:
> For virtio device we have to pass in iommu_platform=true flag for
> this to set the VIRTIO_F_IOMMU_PLATFORM flag. But for example
> QEMU has the use of iommu_platform attribute disabled for virtio-gpu
> device. So would also like to move towards not having to specify
> t...
2018 Sep 19
0
[PATCH] drm/virtio: add dma sync for dma mapped virtio gpu framebuffer pages
On Wed, Sep 19, 2018 at 07:09:53AM +0000, An, Jiandi wrote:
> With virtio gpu ttm-pages being dma mapped, dma sync is needed when
> swiotlb is used as bounce buffers, before TRANSFER_TO_HOST_2D/3D
> commands are sent.
Pushed to drm-misc-next.
thanks,
Gerd
2018 Sep 19
0
[virtio-dev] [PATCH 2/2] drm/virtio: add iommu support.
...ssing. Can you send the
> > patch you have?
> >
> > cheers,
> > Gerd
> >
>
> I sent the patch. For now it does dma_sync_sg on the pages in
> TRANSFER_TO_HOST_2D/3D when use_dma_api is true.
>
> https://lore.kernel.org/lkml/20180919070931.91168-1-jiandi.an at amd.com/
Hmm, the way it is hooked up it should not miss any resource update.
So not sure why it isn't working.
Pushed the patch nevertheless as it is clearly a step into the right
direction.
cheers,
Gerd
2018 Aug 08
4
[RFC 0/4] Virtio uses DMA API for all devices
On Wed, 2018-08-08 at 23:31 +0300, Michael S. Tsirkin wrote:
> On Wed, Aug 08, 2018 at 11:18:13PM +1000, Benjamin Herrenschmidt wrote:
> > Sure, but all of this is just the configuration of the iommu. But I
> > think we agree here, and your point remains valid, indeed my proposed
> > hack:
> >
> > > if ((flags & VIRTIO_F_IOMMU_PLATFORM) ||