mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 06:43:06 +07:00
c66df701e7
virtio-gpu basically needs a sg_table for the bo, to tell the host where the backing pages for the object are. So the gem shmem helpers are a perfect fit. Some drm_gem_object_funcs need thin wrappers to update the host state, but otherwise the helpers handle everything just fine. Once the fencing was sorted the switch was surprisingly easy and for the most part just removing the ttm code. v4: fix drm_gem_object_funcs name. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/20190829103301.3539-15-kraxel@redhat.com
12 lines
312 B
Plaintext
12 lines
312 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_VIRTIO_GPU
|
|
tristate "Virtio GPU driver"
|
|
depends on DRM && VIRTIO && MMU
|
|
select DRM_KMS_HELPER
|
|
select DRM_GEM_SHMEM_HELPER
|
|
help
|
|
This is the virtual GPU driver for virtio. It can be used with
|
|
QEMU based VMMs (like KVM or Xen).
|
|
|
|
If unsure say M.
|