Skip to contentSkip to conversation

tests/gem_bo_falloc: New igt for testing gem_fallocate() ioctl

RFC New [email protected] 1 participant 1 message Apr 28, 2014

lore
Share & tools
lore
#0 lore raw

RFC 1/1 tests/gem_bo_falloc: New igt for testing gem_fallocate() ioctl

From: "Siluvery, Arun" <[email protected]>

This ioctl allows vary the effective size of the gem object. User can mark certain range in object space as scratch thus effectively modifying the size used.

v2: modify subtest names and function names as per tooling convention.

---
 tests/Makefile.sources |   1 +
 tests/gem_bo_falloc.c  | 471 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 472 insertions(+)
 create mode 100644 tests/gem_bo_falloc.c
tests/Makefile.sources +1 -0
index 88866ac..25c010e 100644
@@ -120,6 +120,7 @@ TESTS_progs = \
 	gem_unref_active_buffers \
 	gem_vmap_blits \
 	gem_wait_render_timeout \
+	gem_bo_falloc \
 	gen3_mixed_blits \
 	gen3_render_linear_blits \
 	gen3_render_mixed_blits \
tests/gem_bo_falloc.c new file +471 -0

471 lines not on this page · raw message

Signature · 6 lines
1.9.2

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