| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | config DRM_VIRTIO_GPU |
| 3 | tristate "Virtio GPU driver" |
| 4 | depends on DRM && VIRTIO_MENU && MMU |
| 5 | select VIRTIO |
| 6 | select DRM_CLIENT_SELECTION |
| 7 | select DRM_KMS_HELPER |
| 8 | select DRM_GEM_SHMEM_HELPER |
| 9 | select VIRTIO_DMA_SHARED_BUFFER |
| 10 | help |
| 11 | This is the virtual GPU driver for virtio. It can be used with |
| 12 | QEMU based VMMs (like KVM or Xen). |
| 13 | |
| 14 | If unsure say M. |
| 15 | |
| 16 | config DRM_VIRTIO_GPU_KMS |
| 17 | bool "Virtio GPU driver modesetting support" |
| 18 | depends on DRM_VIRTIO_GPU |
| 19 | default y |
| 20 | help |
| 21 | Enable modesetting support for virtio GPU driver. This can be |
| 22 | disabled in cases where only "headless" usage of the GPU is |
| 23 | required. |
| 24 | |
| 25 | If unsure, say Y. |