xref: /openbmc/linux/drivers/gpu/drm/vmwgfx/Kconfig (revision 808e92e8)
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 && HYPERVISOR_GUEST) || 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_MKSSTATS
20	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
21	depends on DRM_VMWGFX
22	depends on X86
23	default n
24	help
25	   Choose this option to instrument the kernel driver for mksGuestStats.
26
27