lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20241206065029.2386702-1-honglei1.huang@amd.com>
Date: Fri, 6 Dec 2024 14:50:29 +0800
From: Honglei Huang <honglei1.huang@....com>
To: Huang Rui <ray.huang@....com>,
	<virtualization@...ts.linux-foundation.org>, <linux-kernel@...r.kernel.org>,
	Dmitry Osipenko <dmitry.osipenko@...labora.com>,
	<dri-devel@...ts.freedesktop.org>, David Airlie <airlied@...hat.com>, "Gerd
 Hoffmann" <kraxel@...hat.com>, Gurchetan Singh <gurchetansingh@...omium.org>,
	Chia-I Wu <olvaffe@...il.com>, Daniel Vetter <daniel.vetter@...ll.ch>,
	Akihiko Odaki <akihiko.odaki@...nix.com>
CC: Lingshan Zhu <Lingshan.Zhu@....com>, Demi Marie Obenour
	<demiobenour@...il.com>, Honglei Huang <Honglei1.Huang@....com>
Subject: [PATCH] virtio: Add hsakmt capset definition

From: Honglei Huang <Honglei1.Huang@....com>

Add libhsakmt native context capset in the VIRTIO-GPU protocol header.

Virglrenderer related patch:
https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1450
OpenCL based on libhsakmt native context patch in progress:
https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1370

Signed-off-by: Honglei Huang <Honglei1.Huang@....com>
---
 include/uapi/linux/virtio_gpu.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/virtio_gpu.h b/include/uapi/linux/virtio_gpu.h
index bf2c9cabd207..183acd6c885b 100644
--- a/include/uapi/linux/virtio_gpu.h
+++ b/include/uapi/linux/virtio_gpu.h
@@ -312,6 +312,7 @@ struct virtio_gpu_cmd_submit {
 /* 3 is reserved for gfxstream */
 #define VIRTIO_GPU_CAPSET_VENUS 4
 #define VIRTIO_GPU_CAPSET_DRM 6
+#define VIRTIO_GPU_CAPSET_HSAKMT 7
 
 /* VIRTIO_GPU_CMD_GET_CAPSET_INFO */
 struct virtio_gpu_get_capset_info {
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ