Skip to contentSkip to conversation

tests/gem_stolen_mem: New testcases for testing the non cpu mappable buffer objects.

RFC New [email protected] 1 participant 1 message Mar 5, 2014

lore
Share & tools
lore
#0 lore raw

RFC 1/1 tests/gem_stolen_mem: New testcases for testing the non cpu mappable buffer objects.

From: Sourab Gupta <[email protected]>

The testcases test the buffer objects created with the cpu_map_not_needed flag. These are used to test the allocation, copy, truncation and non-cpu mappable nature of the buffer objects created with this flag.

---
 tests/Makefile.sources |    1 +
 tests/gem_stolen_mem.c |  277 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 278 insertions(+)
 create mode 100644 tests/gem_stolen_mem.c
tests/Makefile.sources +1 -0
index 88866ac..74961ba 100644
@@ -51,6 +51,7 @@ TESTS_progs_M = \
 	gem_ringfill \
 	gem_set_tiling_vs_blt \
 	gem_storedw_batches_loop \
+	gem_stolen_mem \
 	gem_tiled_blits \
 	gem_tiled_partial_pwrite_pread \
 	gem_write_read_ring_switch \
tests/gem_stolen_mem.c new file +277 -0

277 lines not on this page · raw message

Signature · 6 lines
1.7.9.5

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