summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/Kconfig
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2018-05-14 16:33:46 +0200
committerGustavo Padovan <gustavo.padovan@collabora.com>2018-07-05 14:45:56 +0200
commit1c7c5fd916a0ff66501467f1e8e79d3ff8eca112 (patch)
tree9264aebf700137fa512c2725cb38f7a28bb6fab6 /drivers/gpu/drm/Kconfig
parentdrm/sun4i: Remove VLA usage (diff)
downloadlinux-1c7c5fd916a0ff66501467f1e8e79d3ff8eca112.tar.xz
linux-1c7c5fd916a0ff66501467f1e8e79d3ff8eca112.zip
drm/vkms: Introduce basic VKMS driver
This patch introduces Virtual Kernel Mode-Setting (VKMS) driver. It creates a very basic kms driver with 1 crtc/encoder/connector/plane. VKMS driver would be useful for testing, or for running X (or similar) on headless machines and be able to still use the GPU. Thus it enables a virtual display without the need for hardware display capability. Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com> Link: https://patchwork.freedesktop.org/patch/msgid/20180514143346.GA21695@haneen-vb
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r--drivers/gpu/drm/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig
index 2a72d2feb76d..7db3d82cbb27 100644
--- a/drivers/gpu/drm/Kconfig
+++ b/drivers/gpu/drm/Kconfig
@@ -213,6 +213,12 @@ config DRM_VGEM
as used by Mesa's software renderer for enhanced performance.
If M is selected the module will be called vgem.
+config DRM_VKMS
+ tristate "Virtual KMS"
+ depends on DRM
+ help
+ Choose this option to get a virtual kernal mode-setting driver.
+ If M is selected the module will be called vkms.
source "drivers/gpu/drm/exynos/Kconfig"