[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support
From: |
Xiongchuan Tan |
Subject: |
[PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support |
Date: |
Mon, 10 Apr 2023 18:11:15 +0800 |
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
- [PATCH 0/3] linux-user: Add some ioctls for mesa amdgpu support,
Xiongchuan Tan <=