xref: /openbmc/linux/drivers/gpu/drm/vmwgfx/Kconfig (revision 2cf1c348)
1# SPDX-License-Identifier: GPL-2.0
2config DRM_VMWGFX
3	tristate "DRM driver for VMware Virtual GPU"
4	depends on DRM && PCI && MMU
5	depends on X86 || ARM64
6	select DRM_TTM
7	select DRM_TTM_HELPER
8	select MAPPING_DIRTY_HELPERS
9	# Only needed for the transitional use of drm_crtc_init - can be removed
10	# again once vmwgfx sets up the primary plane itself.
11	select DRM_KMS_HELPER
12	help
13	  Choose this option if you would like to run 3D acceleration
14	  in a VMware virtual machine.
15	  This is a KMS enabled DRM driver for the VMware SVGA2
16	  virtual hardware.
17	  The compiled module will be called "vmwgfx.ko".
18
19config DRM_VMWGFX_FBCON
20	depends on DRM_VMWGFX && DRM_FBDEV_EMULATION
21	bool "Enable framebuffer console under vmwgfx by default"
22	help
23	   Choose this option if you are shipping a new vmwgfx
24	   userspace driver that supports using the kernel driver.
25
26config DRM_VMWGFX_MKSSTATS
27	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
28	depends on DRM_VMWGFX
29	depends on X86
30	default n
31	help
32	   Choose this option to instrument the kernel driver for mksGuestStats.
33
34