Skip to content
Snippets Groups Projects
Commit 76de6f0d authored by Dmitry Osipenko's avatar Dmitry Osipenko
Browse files

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: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
parent 803ca6cb
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment