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