qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] linux-user: Add drm ioctls for userland graphics drivers
@ 2023-09-27 17:52 Xiongchuan Tan
  2023-09-27 17:52 ` [PATCH 1/1] linux-user: Add drm ioctls for " Xiongchuan Tan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiongchuan Tan @ 2023-09-27 17:52 UTC (permalink / raw)
  To: Laurent Vivier; +Cc: qemu-devel, Xiongchuan Tan

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-27 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-27 17:52 [PATCH 0/1] linux-user: Add drm ioctls for userland graphics drivers Xiongchuan Tan
2023-09-27 17:52 ` [PATCH 1/1] linux-user: Add drm ioctls for " Xiongchuan Tan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).