[igt-dev] [PATCH i-g-t] i915/gem_gpgpu_fill: Add support for local memory

apoorva1.singh at intel.com apoorva1.singh at intel.com
Sat Aug 21 07:18:44 UTC 2021


From: Apoorva Singh <apoorva1.singh at intel.com>

Add support for local memory region (Device memory)

Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
Cc: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
 tests/i915/gem_gpgpu_fill.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/i915/gem_gpgpu_fill.c b/tests/i915/gem_gpgpu_fill.c
index 1fcd42e2..74a227f6 100644
--- a/tests/i915/gem_gpgpu_fill.c
+++ b/tests/i915/gem_gpgpu_fill.c
@@ -150,7 +150,8 @@ igt_main
 		igt_assert(region_info);
 
 		region_set = get_memory_region_set(region_info,
-						   I915_SYSTEM_MEMORY);
+						   I915_SYSTEM_MEMORY,
+						   I915_DEVICE_MEMORY);
 	}
 
 	igt_subtest_with_dynamic("basic") {
-- 
2.25.1



More information about the igt-dev mailing list