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

apoorva1.singh at intel.com apoorva1.singh at intel.com
Sat Aug 21 07:10:25 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_media_fill.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/i915/gem_media_fill.c b/tests/i915/gem_media_fill.c
index 28c18e79..1d08df24 100644
--- a/tests/i915/gem_media_fill.c
+++ b/tests/i915/gem_media_fill.c
@@ -154,7 +154,8 @@ igt_main
 		igt_assert(query_info);
 
 		set = get_memory_region_set(query_info,
-					    I915_SYSTEM_MEMORY);
+					    I915_SYSTEM_MEMORY,
+					    I915_DEVICE_MEMORY);
 
 		igt_fork_hang_detector(data.drm_fd);
 	}
-- 
2.25.1



More information about the igt-dev mailing list