virtio-gpu: Rename GFXSTREAM context capset to GFXSTREAM_VULKAN
PATCH v2 1/3 virtio-gpu: Rename GFXSTREAM context capset to GFXSTREAM_VULKAN
Initially, the plan was to use a single GFXSTREAM context for all of GLES/GL/VK gfxstream sub-contexts. Over time the plan changed and GFXSTREAM context became used exclusively for Vulkan, while GLES/GL contexts were moved to a new own experimental virtio-gpu contexts. Rename GFXSTREAM capset to GFXSTREAM_VULKAN.
--- device-types/gpu/description.tex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
device-types/gpu/description.tex +3 -3
@@ -530,8 +530,8 @@ \subsubsection{Device Operation: controlq}\label{sec:Device Types / GPU Device / the first edition of Virgl (Gallium OpenGL) protocol. \item \href{https://gitlab.freedesktop.org/virgl/virglrenderer/-/blob/master/src/virgl_hw.h#L550}{VIRTIO_GPU_CAPSET_VIRGL2} -- the second edition of Virgl (Gallium OpenGL) protocol after the capset fix. - \item \href{https://android.googlesource.com/device/generic/vulkan-cereal/+/refs/heads/master/protocols/}{VIRTIO_GPU_CAPSET_GFXSTREAM} -- - gfxtream's (mostly) autogenerated GLES and Vulkan streaming protocols. + \item \href{https://android.googlesource.com/device/generic/vulkan-cereal/+/refs/heads/android13-release/protocols/vulkan/}{VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN} -- + gfxtream's (mostly) autogenerated Vulkan streaming protocol. \item \href{https://gitlab.freedesktop.org/olv/venus-protocol}{VIRTIO_GPU_CAPSET_VENUS} -- Mesa's (mostly) autogenerated Vulkan protocol. \item \href{https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/main/rutabaga_gfx/src/cross_domain/cross_domain_protocol.rs}{VIRTIO_GPU_CAPSET_CROSS_DOMAIN} --
@@ -547,7 +547,7 @@ \subsubsection{Device Operation: controlq}\label{sec:Device Types / GPU Device / #define VIRTIO_GPU_CAPSET_VIRGL 1 #define VIRTIO_GPU_CAPSET_VIRGL2 2 -#define VIRTIO_GPU_CAPSET_GFXSTREAM 3 +#define VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN 3 #define VIRTIO_GPU_CAPSET_VENUS 4 #define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5 struct virtio_gpu_resp_capset_info {
Signature · 18 lines
2.41.0 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: [email protected] Unsubscribe: [email protected] List help: [email protected] List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/
PATCH v2 2/3 virtio-gpu: Document VIRTIO_GPU_CAPSET_DRM
Document VIRTIO_GPU_CAPSET_DRM that is capset for the DRM native context protocols which implement Linux DRM UAPIs over VirtIO-GPU, effectively exposing host GPU to a Linux guest like it's a native/baremetal GPU.
--- device-types/gpu/description.tex | 3 +++ 1 file changed, 3 insertions(+)
device-types/gpu/description.tex +3 -0
@@ -536,6 +536,8 @@ \subsubsection{Device Operation: controlq}\label{sec:Device Types / GPU Device / Mesa's (mostly) autogenerated Vulkan protocol. \item \href{https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/main/rutabaga_gfx/src/cross_domain/cross_domain_protocol.rs}{VIRTIO_GPU_CAPSET_CROSS_DOMAIN} -- protocol for display virtualization via Wayland proxying. + \item \href{https://gitlab.freedesktop.org/virgl/virglrenderer/-/tree/master/src/drm}{VIRTIO_GPU_CAPSET_DRM} -- + DRM native context protocols. \end{itemize*} \begin{lstlisting}
@@ -550,6 +552,7 @@ \subsubsection{Device Operation: controlq}\label{sec:Device Types / GPU Device / #define VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN 3 #define VIRTIO_GPU_CAPSET_VENUS 4 #define VIRTIO_GPU_CAPSET_CROSS_DOMAIN 5 +#define VIRTIO_GPU_CAPSET_DRM 6 struct virtio_gpu_resp_capset_info { struct virtio_gpu_ctrl_hdr hdr; le32 capset_id;
Signature · 18 lines
2.41.0 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: [email protected] Unsubscribe: [email protected] List help: [email protected] List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/
PATCH v2 3/3 virtio-gpu: Update venus-protocol URL
In reply to Dmitry OsipenkoThe venus-protocol was moved to the main virgl gitlab group a year ago. Update the link in the GPU documentation.
--- device-types/gpu/description.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
device-types/gpu/description.tex +1 -1
@@ -532,7 +532,7 @@ \subsubsection{Device Operation: controlq}\label{sec:Device Types / GPU Device / the second edition of Virgl (Gallium OpenGL) protocol after the capset fix. \item \href{https://android.googlesource.com/device/generic/vulkan-cereal/+/refs/heads/android13-release/protocols/vulkan/}{VIRTIO_GPU_CAPSET_GFXSTREAM_VULKAN} -- gfxtream's (mostly) autogenerated Vulkan streaming protocol. - \item \href{https://gitlab.freedesktop.org/olv/venus-protocol}{VIRTIO_GPU_CAPSET_VENUS} -- + \item \href{https://gitlab.freedesktop.org/virgl/venus-protocol}{VIRTIO_GPU_CAPSET_VENUS} -- Mesa's (mostly) autogenerated Vulkan protocol. \item \href{https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/main/rutabaga_gfx/src/cross_domain/cross_domain_protocol.rs}{VIRTIO_GPU_CAPSET_CROSS_DOMAIN} -- protocol for display virtualization via Wayland proxying.
Signature · 18 lines
2.41.0 This publicly archived list offers a means to provide input to the OASIS Virtual I/O Device (VIRTIO) TC. In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting. Subscribe: [email protected] Unsubscribe: [email protected] List help: [email protected] List archive: https://lists.oasis-open.org/archives/virtio-comment/ Feedback License: https://www.oasis-open.org/who/ipr/feedback_license.pdf List Guidelines: https://www.oasis-open.org/policies-guidelines/mailing-lists Committee: https://www.oasis-open.org/committees/virtio/ Join OASIS: https://www.oasis-open.org/join/