xref: /linux/drivers/gpu/drm/virtio/Kconfig (revision 2cddfc2e8fc78c13b0f5286ea5dd48cdf527ad41)
1# SPDX-License-Identifier: GPL-2.0-only
2config 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
16config 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.
26