xref: /openbmc/linux/drivers/gpu/drm/vmwgfx/Kconfig (revision 9f808288)
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
5523375c9SZack Rusin	depends on X86 || ARM64
6fb1d9738SJakob Bornecrantz	select DRM_TTM
7b7468b15SThomas Hellstrom	select MAPPING_DIRTY_HELPERS
804381b98SDaniel Vetter	# Only needed for the transitional use of drm_crtc_init - can be removed
904381b98SDaniel Vetter	# again once vmwgfx sets up the primary plane itself.
1004381b98SDaniel Vetter	select DRM_KMS_HELPER
11fb1d9738SJakob Bornecrantz	help
125a7b74beSThomas Hellstrom	  Choose this option if you would like to run 3D acceleration
135a7b74beSThomas Hellstrom	  in a VMware virtual machine.
145a7b74beSThomas Hellstrom	  This is a KMS enabled DRM driver for the VMware SVGA2
155a7b74beSThomas Hellstrom	  virtual hardware.
165a7b74beSThomas Hellstrom	  The compiled module will be called "vmwgfx.ko".
175d2afab9SDave Airlie
185d2afab9SDave Airlieconfig DRM_VMWGFX_FBCON
195dbf2fc5SThomas Zimmermann	depends on DRM_VMWGFX && DRM_FBDEV_EMULATION
205d2afab9SDave Airlie	bool "Enable framebuffer console under vmwgfx by default"
215d2afab9SDave Airlie	help
225d2afab9SDave Airlie	   Choose this option if you are shipping a new vmwgfx
235d2afab9SDave Airlie	   userspace driver that supports using the kernel driver.
245d2afab9SDave Airlie
257a7a933eSMartin Krastevconfig DRM_VMWGFX_MKSSTATS
267a7a933eSMartin Krastev	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
277a7a933eSMartin Krastev	depends on DRM_VMWGFX
28*9f808288SMartin Krastev	depends on X86
297a7a933eSMartin Krastev	default n
307a7a933eSMartin Krastev	help
317a7a933eSMartin Krastev	   Choose this option to instrument the kernel driver for mksGuestStats.
327a7a933eSMartin Krastev
33