[PATCH i-g-t 10/12] tests/i915/gem_mmap_offset: add debug to close_race

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Sep 21 18:11:42 UTC 2022


Signed-off-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
 tests/i915/gem_mmap_offset.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/i915/gem_mmap_offset.c b/tests/i915/gem_mmap_offset.c
index f51d7e38..9789ebad 100644
--- a/tests/i915/gem_mmap_offset.c
+++ b/tests/i915/gem_mmap_offset.c
@@ -553,6 +553,7 @@ static void close_race(int i915, int timeout)
 	_Atomic uint32_t *handles;
 	size_t len = ALIGN((ncpus + 1) * sizeof(uint32_t), 4096);
 
+	igt_info("aperture size: %lx\n", gem_aperture_size(i915)); //DEBUG
 	handles = mmap64(0, len, PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
 	igt_assert(handles != MAP_FAILED);
 
-- 
2.34.1



More information about the Intel-gfx-trybot mailing list