drm/xen-front Xen para-virtualized frontend driver — The Linux Kernel documentation
The Linux Kernel 7.4.0-rc3 Quick search Contents Working with the development community Development process Submitting patches Code of conduct Maintainer handbook All development-process docs Internal API manuals Core API Driver APIs Subsystems Core subsystems Human interfaces Input Documentation Human Interface Devices (HID) Sound Subsystem Documentation GPU Driver Developer’s Guide Frame Buffer LEDs Networking interfaces Storage interfaces Other subsystems Locking Development tools and processes Licensing rules Writing documentation Development tools Testing guide Hacking guide Tracing Fault injection Livepatching Rust User-oriented documentation Administration Build system Reporting issues Userspace tools Userspace API Firmware-related documentation Firmware Firmware and Devicetree Architecture-specific documentation CPU architectures Other documentation Unsorted documentation Translations Translations This Page Show Source drm/xen-front Xen para-virtualized frontend driver ¶ This frontend driver implements Xen para-virtualized display according to the display protocol described at include/xen/interface/io/displif.h Driver modes of operation in terms of display buffers used ¶ Depending on the requirements for the para-virtualized environment, namely requirements dictated by the accompanying DRM/(v)GPU drivers running in both host and guest environments, display buffers can be allocated by either frontend driver or backend.
Buffers allocated by the frontend driver ¶ In this mode of operation driver allocates buffers from system memory. Note! If used with accompanying DRM/(v)GPU drivers this mode of operation may require IOMMU support on the platform, so accompanying DRM/vGPU hardware can still reach display buffer memory while importing PRIME buffers from the frontend driver. Buffers allocated by the backend ¶ This mode of operation is run-time configured via guest domain configuration through XenStore entries.
For systems which do not provide IOMMU support, but having specific requirements for display buffers it is possible to allocate such buffers at backend side and share those with the frontend. For example, if host domain is 1:1 mapped and has DRM/GPU hardware expecting physically contiguous memory, this allows implementing zero-copying use-cases. Note, while using this scenario the following should be considered: If guest domain dies then pages/grants received from the backend cannot be claimed back Misbehaving guest may send too many requests to the backend exhausting its grant references and memory (consider this from security POV) Driver limitations ¶ Only primary plane without additional properties is supported.
Only one video mode per connector supported which is configured via XenStore. All CRTCs operate at fixed frequency of 60Hz. ©The kernel development community. | Powered by Sphinx 5.3.0 & Alabaster 0.7.16 | Page source