xref: /openbmc/linux/drivers/gpu/drm/virtio/Kconfig (revision 856caabf)
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_KMS_HELPER
7	select DRM_GEM_SHMEM_HELPER
8	select VIRTIO_DMA_SHARED_BUFFER
9	help
10	   This is the virtual GPU driver for virtio.  It can be used with
11	   QEMU based VMMs (like KVM or Xen).
12
13	   If unsure say M.
14
15config DRM_VIRTIO_GPU_KMS
16	bool "Virtio GPU driver modesetting support"
17	depends on DRM_VIRTIO_GPU
18	default y
19	help
20	   Enable modesetting support for virtio GPU driver.  This can be
21	   disabled in cases where only "headless" usage of the GPU is
22	   required.
23
24	   If unsure, say Y.
25