From: "Kalamarz, Lukasz" <[email protected]>

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 <[email protected]>
Signed-off-by: Lukasz Kalamarz <[email protected]>
Signed-off-by: Vinay Belgaumkar <[email protected]>
Cc: Janulgue Abdiel <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Katarzyna Dec <[email protected]>
Cc: Vanshidhar Konda <[email protected]>
Cc: Stuart Summers <[email protected]>
Cc: Zbigniew KempczyƄski <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Acked-by: Petri Latvala <[email protected]>
---
 tests/i915/gem_exec_basic.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
                igt_assert(query_info);
 
                set = get_memory_region_set(query_info,
-                                           I915_SYSTEM_MEMORY);
+                                           I915_SYSTEM_MEMORY,
+                                           I915_DEVICE_MEMORY);
        }
 
        igt_subtest_with_dynamic("basic") {
-- 
2.26.3

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to