Displaying 2 results from an estimated 2 matches for "transfer_to_host_2d".
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.
..., it still gives a blank black screen.
> >
> > Hmm. I'd suspect there is simply a code path missing. 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
directio...