Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from ws5-mx01.kavi.com (ws5-mx01.kavi.com [34.193.7.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AF73BC4332F for ; Fri, 15 Dec 2023 16:05:42 +0000 (UTC) Received: from lists.oasis-open.org (oasis.ws5.connectedcommunity.org [10.110.1.242]) by ws5-mx01.kavi.com (Postfix) with ESMTP id DF81033587 for ; Fri, 15 Dec 2023 16:05:39 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 9A31598695B for ; Fri, 15 Dec 2023 16:05:39 +0000 (UTC) Received: from host09.ws5.connectedcommunity.org (host09.ws5.connectedcommunity.org [10.110.1.97]) by lists.oasis-open.org (Postfix) with QMQP id 6C7CC9867D8; Fri, 15 Dec 2023 16:05:39 +0000 (UTC) Mailing-List: contact virtio-comment-help@lists.oasis-open.org; run by ezmlm List-ID: Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 424109866F5 for ; Fri, 15 Dec 2023 16:05:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com From: Dmitry Osipenko To: Gerd Hoffmann , Gurchetan Singh , Rob Clark , Huang Rui , Sergio Lopez , Akihiko Odaki , virtio-comment@lists.oasis-open.org Date: Fri, 15 Dec 2023 19:05:11 +0300 Message-ID: <20231215160512.762757-2-dmitry.osipenko@collabora.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231215160512.762757-1-dmitry.osipenko@collabora.com> References: <20231215160512.762757-1-dmitry.osipenko@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [virtio-comment] [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. Acked-by: Huang Rui 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 --- 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.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: virtio-comment-subscribe@lists.oasis-open.org Unsubscribe: virtio-comment-unsubscribe@lists.oasis-open.org List help: virtio-comment-help@lists.oasis-open.org 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/