Skip to content

amdgpu: Use drmCommandWrite for DRM_AMDGPU_GEM_VA

Samuel Holland requested to merge smaeul/libdrm:amdgpu-ioctls into main

The UAPI for amdgpu defines DRM_IOCTL_AMDGPU_GEM_VA as DRM_IOW, not DRM_IOWR. The kernel does not actually care which is used, but using drmCommandWrite allows strace to properly decode the ioctl syscall.

Signed-off-by: Samuel Holland samuel.holland@sifive.com

Merge request reports