[PATCH 1/1] linux-user: Add drm ioctls for graphics drivers

2023-09-27 Thread Xiongchuan Tan
This patch adds more drm-related ioctls to support userland OpenGL and Vulkan drivers. Signed-off-by: Xiongchuan Tan --- linux-user/ioctls.h| 26 +++ linux-user/syscall_defs.h | 15 - linux-user/syscall_types.h | 68 ++ 3 files

[PATCH 0/1] linux-user: Add drm ioctls for userland graphics drivers

2023-09-27 Thread Xiongchuan Tan
DRM_IOCTL_I915_GETPARAM. I'm unsure about whether a generic implementation is possible. Xiongchuan Tan (1): linux-user: Add drm ioctls for graphics drivers linux-user/ioctls.h| 26 +++ linux-user/syscall_defs.h | 15 - linux-user/syscall_types.h

[PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support

2023-04-10 Thread Xiongchuan Tan
can be enabled via the newly added --enable-linux-user-drm-amdgpu configure flag. Xiongchuan Tan (3): linux-user: Add compile flag for amdgpu drm support linux-user: Add more drm ioctls for mesa linux-user: Add amdgpu specific drm ioctls for mesa configure | 2 + linux

[PATCH 3/3] linux-user: Add amdgpu specific drm ioctls for mesa

2023-04-10 Thread Xiongchuan Tan
Signed-off-by: Xiongchuan Tan --- linux-user/ioctls.h| 16 ++ linux-user/syscall.c | 312 + linux-user/syscall_defs.h | 100 +++- linux-user/syscall_types.h | 55 +++ 4 files changed, 482 insertions(+), 1 deletion(-) diff --git a

[PATCH 1/3] linux-user: Add compile flag for amdgpu drm support

2023-04-10 Thread Xiongchuan Tan
Signed-off-by: Xiongchuan Tan --- configure | 2 ++ linux-user/ioctls.h | 4 linux-user/syscall.c | 10 ++ linux-user/syscall_defs.h | 5 + meson.build | 1 + meson_options.txt | 3 +++ 6 files changed, 25 insertions(+) diff

[PATCH 2/3] linux-user: Add more drm ioctls for mesa

2023-04-10 Thread Xiongchuan Tan
Signed-off-by: Xiongchuan Tan --- linux-user/ioctls.h| 11 - linux-user/syscall.c | 98 -- linux-user/syscall_defs.h | 34 + linux-user/syscall_types.h | 24 ++ 4 files changed, 163 insertions(+), 4 deletions(-) diff