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
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
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
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
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
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