diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-05-11 18:05:04 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2018-06-08 19:24:16 +0300 |
commit | a5e6e6505f38f7bce1d3576503a2bffff3fa888c (patch) | |
tree | b211d78579f7056b73a05f927e2e96d58ca8278e /samples/Kconfig | |
parent | cacade1946a41b38dcdf3defb0f931453587eac9 (diff) | |
download | linux-a5e6e6505f38f7bce1d3576503a2bffff3fa888c.tar.xz |
sample: vfio bochs vbe display (host device for bochs-drm)
Display device, demo-ing the vfio dmabuf display interface
(VFIO_GFX_PLANE_TYPE_DMABUF). Compatible enough to qemu stdvga
that bochs-drm.ko can be used as guest driver.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r-- | samples/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index a6ff147d8744..3aeaaca77831 100644 --- a/samples/Kconfig +++ b/samples/Kconfig @@ -132,6 +132,19 @@ config SAMPLE_VFIO_MDEV_MDPY_FB 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 + 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 |