summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vmwgfx/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/Kconfig')
-rw-r--r--drivers/gpu/drm/vmwgfx/Kconfig23
1 files changed, 14 insertions, 9 deletions
diff --git a/drivers/gpu/drm/vmwgfx/Kconfig b/drivers/gpu/drm/vmwgfx/Kconfig
index b71bcd0bfbbf..aab646b91ca9 100644
--- a/drivers/gpu/drm/vmwgfx/Kconfig
+++ b/drivers/gpu/drm/vmwgfx/Kconfig
@@ -1,11 +1,15 @@
+# SPDX-License-Identifier: GPL-2.0
config DRM_VMWGFX
tristate "DRM driver for VMware Virtual GPU"
- depends on DRM && PCI && FB
- select FB_DEFERRED_IO
- select FB_CFB_FILLRECT
- select FB_CFB_COPYAREA
- select FB_CFB_IMAGEBLIT
+ depends on DRM && PCI
+ depends on (X86 && HYPERVISOR_GUEST) || ARM64
+ select DRM_CLIENT_SELECTION
select DRM_TTM
+ select DRM_TTM_HELPER
+ select MAPPING_DIRTY_HELPERS
+ # Only needed for the transitional use of drm_crtc_init - can be removed
+ # again once vmwgfx sets up the primary plane itself.
+ select DRM_KMS_HELPER
help
Choose this option if you would like to run 3D acceleration
in a VMware virtual machine.
@@ -13,10 +17,11 @@ config DRM_VMWGFX
virtual hardware.
The compiled module will be called "vmwgfx.ko".
-config DRM_VMWGFX_FBCON
+config DRM_VMWGFX_MKSSTATS
+ bool "Enable mksGuestStats instrumentation of vmwgfx by default"
depends on DRM_VMWGFX
- bool "Enable framebuffer console under vmwgfx by default"
+ depends on X86
+ default n
help
- Choose this option if you are shipping a new vmwgfx
- userspace driver that supports using the kernel driver.
+ Choose this option to instrument the kernel driver for mksGuestStats.