162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig DRM_VMWGFX
362306a36Sopenharmony_ci	tristate "DRM driver for VMware Virtual GPU"
462306a36Sopenharmony_ci	depends on DRM && PCI && MMU
562306a36Sopenharmony_ci	depends on X86 || ARM64
662306a36Sopenharmony_ci	select DRM_TTM
762306a36Sopenharmony_ci	select DRM_TTM_HELPER
862306a36Sopenharmony_ci	select MAPPING_DIRTY_HELPERS
962306a36Sopenharmony_ci	# Only needed for the transitional use of drm_crtc_init - can be removed
1062306a36Sopenharmony_ci	# again once vmwgfx sets up the primary plane itself.
1162306a36Sopenharmony_ci	select DRM_KMS_HELPER
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Choose this option if you would like to run 3D acceleration
1462306a36Sopenharmony_ci	  in a VMware virtual machine.
1562306a36Sopenharmony_ci	  This is a KMS enabled DRM driver for the VMware SVGA2
1662306a36Sopenharmony_ci	  virtual hardware.
1762306a36Sopenharmony_ci	  The compiled module will be called "vmwgfx.ko".
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig DRM_VMWGFX_MKSSTATS
2062306a36Sopenharmony_ci	bool "Enable mksGuestStats instrumentation of vmwgfx by default"
2162306a36Sopenharmony_ci	depends on DRM_VMWGFX
2262306a36Sopenharmony_ci	depends on X86
2362306a36Sopenharmony_ci	default n
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	   Choose this option to instrument the kernel driver for mksGuestStats.
2662306a36Sopenharmony_ci
27