[PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support

Xiongchuan Tan posted 3 patches 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230410101118.59564-1-tanxiongchuan@isrc.iscas.ac.cn
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <laurent@vivier.eu>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
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(-)
[PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support
Posted by Xiongchuan Tan 1 year ago
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