]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/virtio: add iommu support.
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 29 Aug 2018 12:20:26 +0000 (14:20 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2018 06:26:26 +0000 (08:26 +0200)
commita3b815f09bb846255c458c181b8a5b1cc66891b4
tree53aceaede9167dbb6abb93ad51a5620fff6d7d18
parentb3f13ec958a77497da76cc7a89d60b741b79ba22
drm/virtio: add iommu support.

Use the dma mapping api and properly add iommu mappings for
objects, unless virtio is in iommu quirk mode.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20180829122026.27012-3-kraxel@redhat.com
drivers/gpu/drm/virtio/virtgpu_drv.h
drivers/gpu/drm/virtio/virtgpu_vq.c