diff mbox series

[i-g-t,12/12] tests/i915/gem_exec_basic/dg1: Iterate over all memory regions

Message ID 20210511165117.428062-13-matthew.auld@intel.com (mailing list archive)
State New, archived
Headers show
Series DG1/LMEM uAPI basics | expand

Commit Message

Matthew Auld May 11, 2021, 4:51 p.m. UTC
From: "Kalamarz, Lukasz" <lukasz.kalamarz@intel.com>

As a part of local memory effort we need to make sure, that
every available memory region is covered. This patch is an attempt
for this problem. If it will be accepted it will be replicated on
each test that can actually benefit from it.

Signed-off-by: Dominik Grzegorzek <dominik.grzegorzek@intel.com>
Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Cc: Janulgue Abdiel <abdiel.janulgue@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Katarzyna Dec <katarzyna.dec@intel.com>
Cc: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Cc: Stuart Summers <stuart.summers@intel.com>
Cc: Zbigniew KempczyƄski <zbigniew.kempczynski@intel.com>
 tests/i915/gem_exec_basic.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series


diff --git a/tests/i915/gem_exec_basic.c b/tests/i915/gem_exec_basic.c
index 8bc4dc52..872b1d3b 100644
--- a/tests/i915/gem_exec_basic.c
+++ b/tests/i915/gem_exec_basic.c
@@ -56,7 +56,8 @@  igt_main
 		set = get_memory_region_set(query_info,
-					    I915_SYSTEM_MEMORY);
+					    I915_SYSTEM_MEMORY,
+					    I915_DEVICE_MEMORY);
 	igt_subtest_with_dynamic("basic") {