Skip to contentSkip to conversation

tests/core_getparams: Create new test core_getparams

PATCH New [email protected] 1 participant 1 message Dec 18, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/core_getparams: Create new test core_getparams

From: Jeff McGee <[email protected]>

New test core_getparams consists of 4 subtests, each one testing the ability of userspace to query the correct value of a GT config
attribute: slice total, subslice total, EU total, and threads per EU. drm/i915 implementation of these queries is required for Gen8+ devices (non-simulated).

For: VIZ-4636

---
 tests/.gitignore       |   1 +
 tests/Makefile.sources |   1 +
 tests/core_getparams.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 225 insertions(+)
 create mode 100644 tests/core_getparams.c
tests/.gitignore +1 -0
index b770a8b..2895e51 100644
@@ -1,6 +1,7 @@
 # Please keep sorted alphabetically
 core_get_client_auth
 core_getclient
+core_getparams
 core_getstats
 core_getversion
 drm_import_export
tests/Makefile.sources +1 -0
index d15a68b..4f085b6 100644
@@ -15,6 +15,7 @@ NOUVEAU_TESTS_M = \
 
 TESTS_progs_M = \
 	core_get_client_auth \
+	core_getparams \
 	drv_suspend \
 	drv_hangman \
 	gem_bad_reloc \
tests/core_getparams.c new file +223 -0

223 lines not on this page · raw message

Signature · 6 lines
2.2.0

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