xref: /linux/drivers/gpu/drm/vmwgfx/Kconfig (revision ab93e0dd72c37d378dd936f031ffb83ff2bd87ce)
1a3be6f6cSDirk Hohndel (VMware)# SPDX-License-Identifier: GPL-2.0
2fb1d9738SJakob Bornecrantzconfig DRM_VMWGFX
3fb1d9738SJakob Bornecrantz	tristate "DRM driver for VMware Virtual GPU"
4*8fe743b5SArnd Bergmann	depends on DRM && PCI
58c4d6945SAlexey Makhalov	depends on (X86 && HYPERVISOR_GUEST) || ARM64
6e8796931SThomas Zimmermann	select DRM_CLIENT_SELECTION
7fb1d9738SJakob Bornecrantz	select DRM_TTM
88afa13a0SZack Rusin	select DRM_TTM_HELPER
9b7468b15SThomas Hellstrom	select MAPPING_DIRTY_HELPERS
1004381b98SDaniel Vetter	# Only needed for the transitional use of drm_crtc_init - can be removed
1104381b98SDaniel Vetter	# again once vmwgfx sets up the primary plane itself.
1204381b98SDaniel Vetter	select DRM_KMS_HELPER
13fb1d9738SJakob Bornecrantz	help
145a7b74beSThomas Hellstrom	  Choose this option if you would like to run 3D acceleration
155a7b74beSThomas Hellstrom	  in a VMware virtual machine.
165a7b74beSThomas Hellstrom	  This is a KMS enabled DRM driver for the VMware SVGA2
175a7b74beSThomas Hellstrom	  virtual hardware.
185a7b74beSThomas Hellstrom	  The compiled module will be called "vmwgfx.ko".
195d2afab9SDave Airlie
207a7a933eSMartin Krastevconfig DRM_VMWGFX_MKSSTATS
217a7a933eSMartin Krastev	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
227a7a933eSMartin Krastev	depends on DRM_VMWGFX
239f808288SMartin Krastev	depends on X86
247a7a933eSMartin Krastev	default n
257a7a933eSMartin Krastev	help
267a7a933eSMartin Krastev	   Choose this option to instrument the kernel driver for mksGuestStats.
277a7a933eSMartin Krastev
28