xref: /openbmc/linux/drivers/gpu/drm/vmwgfx/Kconfig (revision 808e92e8)
1a3be6f6cSDirk Hohndel (VMware)# SPDX-License-Identifier: GPL-2.0
2fb1d9738SJakob Bornecrantzconfig DRM_VMWGFX
3fb1d9738SJakob Bornecrantz	tristate "DRM driver for VMware Virtual GPU"
4523375c9SZack Rusin	depends on DRM && PCI && MMU
5*808e92e8SAlexey Makhalov	depends on (X86 && HYPERVISOR_GUEST) || ARM64
6fb1d9738SJakob Bornecrantz	select DRM_TTM
78afa13a0SZack Rusin	select DRM_TTM_HELPER
8b7468b15SThomas Hellstrom	select MAPPING_DIRTY_HELPERS
904381b98SDaniel Vetter	# Only needed for the transitional use of drm_crtc_init - can be removed
1004381b98SDaniel Vetter	# again once vmwgfx sets up the primary plane itself.
1104381b98SDaniel Vetter	select DRM_KMS_HELPER
12fb1d9738SJakob Bornecrantz	help
135a7b74beSThomas Hellstrom	  Choose this option if you would like to run 3D acceleration
145a7b74beSThomas Hellstrom	  in a VMware virtual machine.
155a7b74beSThomas Hellstrom	  This is a KMS enabled DRM driver for the VMware SVGA2
165a7b74beSThomas Hellstrom	  virtual hardware.
175a7b74beSThomas Hellstrom	  The compiled module will be called "vmwgfx.ko".
185d2afab9SDave Airlie
197a7a933eSMartin Krastevconfig DRM_VMWGFX_MKSSTATS
207a7a933eSMartin Krastev	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
217a7a933eSMartin Krastev	depends on DRM_VMWGFX
229f808288SMartin Krastev	depends on X86
237a7a933eSMartin Krastev	default n
247a7a933eSMartin Krastev	help
257a7a933eSMartin Krastev	   Choose this option to instrument the kernel driver for mksGuestStats.
267a7a933eSMartin Krastev
27