diff options
author | Dmitry Osipenko <dmitry.osipenko@collabora.com> | 2022-06-30 22:07:24 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2022-07-19 14:40:58 +0200 |
commit | b5c9ed70d1a94c59dad7b1ecfc928863c0fe6ac0 (patch) | |
tree | 3580ad1ab99f933b8ff0ea7c9f3227d5f20aff1c /scripts | |
parent | drm/virtio: Simplify error handling of virtio_gpu_object_create() (diff) | |
download | linux-b5c9ed70d1a94c59dad7b1ecfc928863c0fe6ac0.tar.xz linux-b5c9ed70d1a94c59dad7b1ecfc928863c0fe6ac0.zip |
drm/virtio: Improve DMA API usage for shmem BOs
DRM API requires the DRM's driver to be backed with the device that can
be used for generic DMA operations. The VirtIO-GPU device can't perform
DMA operations if it uses PCI transport because PCI device driver creates
a virtual VirtIO-GPU device that isn't associated with the PCI. Use PCI's
GPU device for the DRM's device instead of the VirtIO-GPU device and drop
DMA-related hacks from the VirtIO-GPU driver.
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20220630200726.1884320-8-dmitry.osipenko@collabora.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions