]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - samples/Kconfig
Merge tag 'for-4.18-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
[linux.git] / samples / Kconfig
index 3db002b9e1d39b4987d87dadc26c3673287d6508..bd133efc1a566ecff49092b9b32f13e1d9754143 100644 (file)
@@ -115,6 +115,37 @@ config SAMPLE_VFIO_MDEV_MTTY
          Build a virtual tty sample driver for use as a VFIO
          mediated device
 
+config SAMPLE_VFIO_MDEV_MDPY
+       tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only"
+       depends on VFIO_MDEV_DEVICE && m
+       help
+         Build a virtual display sample driver for use as a VFIO
+         mediated device.  It is a simple framebuffer and supports
+         the region display interface (VFIO_GFX_PLANE_TYPE_REGION).
+
+config SAMPLE_VFIO_MDEV_MDPY_FB
+       tristate "Build VFIO mdpy example guest fbdev driver -- loadable module only"
+       depends on FB && m
+       select FB_CFB_FILLRECT
+       select FB_CFB_COPYAREA
+       select FB_CFB_IMAGEBLIT
+       help
+         Guest fbdev driver for the virtual display sample driver.
+
+config SAMPLE_VFIO_MDEV_MBOCHS
+       tristate "Build VFIO mdpy example mediated device sample code -- loadable modules only"
+       depends on VFIO_MDEV_DEVICE && m
+       select DMA_SHARED_BUFFER
+       help
+         Build a virtual display sample driver for use as a VFIO
+         mediated device.  It supports the region display interface
+         (VFIO_GFX_PLANE_TYPE_DMABUF).
+         Emulate enough of qemu stdvga to make bochs-drm.ko happy.
+         That is basically the vram memory bar and the bochs dispi
+         interface vbe registers in the mmio register bar.
+         Specifically it does *not* include any legacy vga stuff.
+         Device looks a lot like "qemu -device secondary-vga".
+
 config SAMPLE_STATX
        bool "Build example extended-stat using code"
        depends on BROKEN