Kconfig (6b182403ee45ed579db544d074d2acf344025f71) Kconfig (8bf8c5ee1f3863d944c1d8c29335f0c790b4f851)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig SAMPLES
3 bool "Sample kernel code"
4 help
5 You can build and test sample kernel code here.
6
7if SAMPLES
8

--- 171 unchanged lines hidden (view full) ---

180config SAMPLE_UHID
181 bool "UHID sample"
182 depends on CC_CAN_LINK && HEADERS_INSTALL
183 help
184 Build UHID sample program.
185
186config SAMPLE_VFIO_MDEV_MTTY
187 tristate "Build VFIO mtty example mediated device sample code"
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig SAMPLES
3 bool "Sample kernel code"
4 help
5 You can build and test sample kernel code here.
6
7if SAMPLES
8

--- 171 unchanged lines hidden (view full) ---

180config SAMPLE_UHID
181 bool "UHID sample"
182 depends on CC_CAN_LINK && HEADERS_INSTALL
183 help
184 Build UHID sample program.
185
186config SAMPLE_VFIO_MDEV_MTTY
187 tristate "Build VFIO mtty example mediated device sample code"
188 depends on VFIO_MDEV
188 select VFIO_MDEV
189 help
190 Build a virtual tty sample driver for use as a VFIO
191 mediated device
192
193config SAMPLE_VFIO_MDEV_MDPY
194 tristate "Build VFIO mdpy example mediated device sample code"
189 help
190 Build a virtual tty sample driver for use as a VFIO
191 mediated device
192
193config SAMPLE_VFIO_MDEV_MDPY
194 tristate "Build VFIO mdpy example mediated device sample code"
195 depends on VFIO_MDEV
195 select VFIO_MDEV
196 help
197 Build a virtual display sample driver for use as a VFIO
198 mediated device. It is a simple framebuffer and supports
199 the region display interface (VFIO_GFX_PLANE_TYPE_REGION).
200
201config SAMPLE_VFIO_MDEV_MDPY_FB
202 tristate "Build VFIO mdpy example guest fbdev driver"
203 depends on FB
204 select FB_CFB_FILLRECT
205 select FB_CFB_COPYAREA
206 select FB_CFB_IMAGEBLIT
207 help
208 Guest fbdev driver for the virtual display sample driver.
209
210config SAMPLE_VFIO_MDEV_MBOCHS
211 tristate "Build VFIO mdpy example mediated device sample code"
196 help
197 Build a virtual display sample driver for use as a VFIO
198 mediated device. It is a simple framebuffer and supports
199 the region display interface (VFIO_GFX_PLANE_TYPE_REGION).
200
201config SAMPLE_VFIO_MDEV_MDPY_FB
202 tristate "Build VFIO mdpy example guest fbdev driver"
203 depends on FB
204 select FB_CFB_FILLRECT
205 select FB_CFB_COPYAREA
206 select FB_CFB_IMAGEBLIT
207 help
208 Guest fbdev driver for the virtual display sample driver.
209
210config SAMPLE_VFIO_MDEV_MBOCHS
211 tristate "Build VFIO mdpy example mediated device sample code"
212 depends on VFIO_MDEV
212 select VFIO_MDEV
213 select DMA_SHARED_BUFFER
214 help
215 Build a virtual display sample driver for use as a VFIO
216 mediated device. It supports the region display interface
217 (VFIO_GFX_PLANE_TYPE_DMABUF).
218 Emulate enough of qemu stdvga to make bochs-drm.ko happy.
219 That is basically the vram memory bar and the bochs dispi
220 interface vbe registers in the mmio register bar.

--- 54 unchanged lines hidden ---
213 select DMA_SHARED_BUFFER
214 help
215 Build a virtual display sample driver for use as a VFIO
216 mediated device. It supports the region display interface
217 (VFIO_GFX_PLANE_TYPE_DMABUF).
218 Emulate enough of qemu stdvga to make bochs-drm.ko happy.
219 That is basically the vram memory bar and the bochs dispi
220 interface vbe registers in the mmio register bar.

--- 54 unchanged lines hidden ---