This patchset tries to add support for amdgpu driver in mesa.

DRM_IOCTL_VERSION has been implemented before, so mesa running in qemu-user will
try to communicate with kernel DRM via the ioctl interface. This patchset
implements several ioctls needed by mesa to enable hardware acceleration, which
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-user/ioctls.h        |  31 ++-
 linux-user/syscall.c       | 420 ++++++++++++++++++++++++++++++++++++-
 linux-user/syscall_defs.h  | 139 +++++++++++-
 linux-user/syscall_types.h |  79 +++++++
 meson.build                |   1 +
 meson_options.txt          |   3 +
 7 files changed, 670 insertions(+), 5 deletions(-)

-- 
2.40.0


Reply via email to