[PATCH 0/2] amdgpu: Expose and test GPUVM, LDS, and Scratch aperture sizes

Srinivasan Shanmugam srinivasan.shanmugam at amd.com
Fri Aug 1 13:50:50 UTC 2025


This patch series exposes the LDS and Scratch aperture sizes in the
amdgpu_info ioctl and adds a new IGT subtest to validate these GPUVM
(aperture) sizes reported by the kernel driver.

The ioctl updates add LDS/Scratch base and limit fields to the
drm_amdgpu_info_device structure, enabling user space to query these
values reliably.

Patch series:
- drm-uapi/amdgpu: Add LDS and scratch aperture fields (include/uapi/drm/amdgpu_drm.h)
- tests/amdgpu: Add GPUVM, LDS, and Scratch aperture sizes subtest (tests/amdgpu/amd_vm.c)

Srinivasan Shanmugam (2):
  tests/amdgpu: Add test for GPUVM, LDS, and Scratch Aperture Sizes
  drm-uapi/amdgpu: Add LDS and scratch apertures fields

 include/drm-uapi/amdgpu_drm.h |  6 +++
 tests/amdgpu/amd_vm.c         | 90 +++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

-- 
2.34.1



More information about the igt-dev mailing list