xref: /openbmc/linux/drivers/gpu/drm/vmwgfx/Kconfig (revision 8afa13a0)
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
7*8afa13a0SZack 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
195d2afab9SDave Airlieconfig DRM_VMWGFX_FBCON
205dbf2fc5SThomas Zimmermann	depends on DRM_VMWGFX && DRM_FBDEV_EMULATION
215d2afab9SDave Airlie	bool "Enable framebuffer console under vmwgfx by default"
225d2afab9SDave Airlie	help
235d2afab9SDave Airlie	   Choose this option if you are shipping a new vmwgfx
245d2afab9SDave Airlie	   userspace driver that supports using the kernel driver.
255d2afab9SDave Airlie
267a7a933eSMartin Krastevconfig DRM_VMWGFX_MKSSTATS
277a7a933eSMartin Krastev	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
287a7a933eSMartin Krastev	depends on DRM_VMWGFX
299f808288SMartin Krastev	depends on X86
307a7a933eSMartin Krastev	default n
317a7a933eSMartin Krastev	help
327a7a933eSMartin Krastev	   Choose this option to instrument the kernel driver for mksGuestStats.
337a7a933eSMartin Krastev
34