From: Dmitry Osipenko <dmitry.osipenko@collabora.com>
To: Gerd Hoffmann <kraxel@redhat.com>,
Gurchetan Singh <gurchetansingh@chromium.org>,
Rob Clark <robdclark@gmail.com>, Huang Rui <ray.huang@amd.com>,
Sergio Lopez <slp@redhat.com>,
Akihiko Odaki <akihiko.odaki@daynix.com>,
virtio-comment@lists.linux.dev,
"Michael S . Tsirkin" <mst@redhat.com>
Subject: [PATCH v3 2/3] virtio-gpu: Document VIRTIO_GPU_CAPSET_DRM
Date: Fri, 19 Jul 2024 15:06:36 +0300 [thread overview]
Message-ID: <20240719120638.196052-3-dmitry.osipenko@collabora.com> (raw)
In-Reply-To: <20240719120638.196052-1-dmitry.osipenko@collabora.com>
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.
Acked-by: Huang Rui <ray.huang@amd.com>
Link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14900
Link: https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/693
Link: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21658
Link: https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1274
Link: https://gitlab.freedesktop.org/digetx/mesa/-/commits/native-context-iris
Link: https://chromium.googlesource.com/chromiumos/platform/crosvm/+/69ecfb0e3913a4cd9048056f9a37cc496c7b9235
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
---
device-types/gpu/description.tex | 3 +++
1 file changed, 3 insertions(+)
diff --git a/device-types/gpu/description.tex b/device-types/gpu/description.tex
index 4b8dd7733c31..29c8a97c3a3f 100644
--- a/device-types/gpu/description.tex
+++ b/device-types/gpu/description.tex
@@ -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;
--
2.45.2
next prev parent reply other threads:[~2024-07-19 12:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-19 12:06 [PATCH v3 0/3] VirtIO-GPU spec improvements Dmitry Osipenko
2024-07-19 12:06 ` [PATCH v3 1/3] virtio-gpu: Rename GFXSTREAM context capset to GFXSTREAM_VULKAN Dmitry Osipenko
2024-07-19 12:06 ` Dmitry Osipenko [this message]
2024-07-19 12:06 ` [PATCH v3 3/3] virtio-gpu: Update venus-protocol URL Dmitry Osipenko
2024-07-19 13:09 ` [PATCH v3 0/3] VirtIO-GPU spec improvements Gerd Hoffmann
2025-02-26 10:59 ` Dmitry Osipenko
2025-02-26 16:08 ` Matias Ezequiel Vara Larsen
2025-02-26 17:29 ` Michael S. Tsirkin
2025-02-26 19:38 ` Dmitry Osipenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240719120638.196052-3-dmitry.osipenko@collabora.com \
--to=dmitry.osipenko@collabora.com \
--cc=akihiko.odaki@daynix.com \
--cc=gurchetansingh@chromium.org \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=ray.huang@amd.com \
--cc=robdclark@gmail.com \
--cc=slp@redhat.com \
--cc=virtio-comment@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox