[PATCH 0/2] lib/igt_os: Implement and use igt_get_meminfo
Jonathan Cavitt
jonathan.cavitt at intel.com
Tue Apr 29 19:29:54 UTC 2025
Add a new function, igt_get_meminfo, that allows IGT to query the value of a
specific meminfo param. The new function will be used in the immediate
to prevent various xe_exec_system_allocator tests from running if they
require huge pages and no huge pages have been reserved.
Fixes: 41ee4d698fd8 ("tests/xe: Add system_allocator test")
Signed-off-by: Jonathan Cavitt <jonathan.cavitt at intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>
Jonathan Cavitt (2):
lib/igt_os: Add igt_get_meminfo
xe_exec_system_allocator: Require huge pages reserved for huge page
tests
lib/igt_os.c | 43 ++++++++++++++++++++++++++
lib/igt_os.h | 2 ++
tests/intel/xe_exec_system_allocator.c | 15 +++++++++
3 files changed, 60 insertions(+)
--
2.43.0
More information about the igt-dev
mailing list