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

Xiongchuan Tan posted 1 patch 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230927175408.495872-1-tanxiongchuan@isrc.iscas.ac.cn
Maintainers: Laurent Vivier <laurent@vivier.eu>
linux-user/ioctls.h        | 26 +++++++++++++++
linux-user/syscall_defs.h  | 15 ++++++++-
linux-user/syscall_types.h | 68 ++++++++++++++++++++++++++++++++++++++
3 files changed, 108 insertions(+), 1 deletion(-)
[PATCH 0/1] linux-user: Add drm ioctls for userland graphics drivers
Posted by Xiongchuan Tan 7 months, 1 week ago
This patch adds more Direct Rendering Manager ioctls to support
userland OpenGL and Vulkan drivers, in addition to existing
DRM_IOCTL_VERSION.

More device-specific ioctls are needed though, but they share the same
range from 0x40 to 0x9f. Adding these would break the current
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 | 68 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 108 insertions(+), 1 deletion(-)

-- 
2.42.0