Add detection logic for struct drm_amdgpu_gem_va size in configure script. If the structure size is exactly 0x28 (40 bytes), CONFIG_AMDGPU_GEN_VA_OLD is defined. Based on CONFIG_AMDGPU_GEN_VA_OLD, ioctl emulation now adapts the definition of drm_amdgpu_gem_va-related data structures accordingly. This patch improves LATX's ability to correctly build and emulate AMDGPU ioctl interfaces across a wide range of Linux distributions. Signed-off-by: Hanlu Li <heuleehanlu@gmail.com> |
||
|---|---|---|
| .. | ||
| ioctl_def | ||
| ioctl_syscall | ||
| ioctl_type | ||
| ioctls | ||
| mpt3sas_ctl.h | ||