Skip to contentSkip to conversation

igt/gem_engine_info: Test the new uAPI

RFC New Tvrtko Ursulin 1 participant 2 messages Jun 26, 2017

lore
Share & tools
lore
#0 lore raw

RFC 1/2 igt/gem_engine_info: Test the new uAPI

From: Tvrtko Ursulin <[email protected]>

Test that the engine info ioctl works.

---
 tests/Makefile.sources  |   1 +
 tests/gem_engine_info.c | 317 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 318 insertions(+)
 create mode 100644 tests/gem_engine_info.c
tests/Makefile.sources +1 -0
index 5b98a5a371b8..010d9d796954 100644
@@ -61,6 +61,7 @@ TESTS_progs = \
 	gem_ctx_thrash \
 	gem_double_irq_loop \
 	gem_eio \
+	gem_engine_info \
 	gem_evict_alignment \
 	gem_evict_everything \
 	gem_exec_alignment \
tests/gem_engine_info.c new file +317 -0

317 lines not on this page · raw message

Signature · 6 lines
2.9.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

RFC 2/2 igt/gem_exec_class_instance: Test the new uAPI

From: Tvrtko Ursulin <[email protected]>

Submit a few valid and invalid no-op batches using the new class- instance execbuf interface.

---
 tests/Makefile.sources          |   1 +
 tests/gem_exec_class_instance.c | 177 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 178 insertions(+)
 create mode 100644 tests/gem_exec_class_instance.c
tests/Makefile.sources +1 -0
index 010d9d796954..0cd769ed8838 100644
@@ -72,6 +72,7 @@ TESTS_progs = \
 	gem_exec_big \
 	gem_exec_blt \
 	gem_exec_capture \
+	gem_exec_class_instance \
 	gem_exec_create \
 	gem_exec_faulting_reloc \
 	gem_exec_fence \
tests/gem_exec_class_instance.c new file +177 -0

177 lines not on this page · raw message

Signature · 6 lines
2.9.4

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