Skip to contentSkip to conversation

tests: Add KMS blob-property test

PATCH New Daniel Stone 1 participant 1 message Apr 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests: Add KMS blob-property test

Exercises the new blob-creation ioctl, testing lifetimes and behaviour of user-created blobs, as well as exercising all the invariant conditions we guarantee from modes exposed as blob properties.

---
 tests/.gitignore       |   1 +
 tests/Makefile.sources |   1 +
 tests/kms_prop_blob.c  | 234 +++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 236 insertions(+)
 create mode 100644 tests/kms_prop_blob.c

This is the userspace component to:
http://lists.freedesktop.org/archives/dri-devel/2015-April/081488.html
and also requires:
http://lists.freedesktop.org/archives/dri-devel/2015-April/081496.html

tests/.gitignore +1 -0
index 796e330..858ab9f 100644
@@ -136,6 +136,7 @@ kms_mmio_vs_cs_flip
 kms_pipe_b_c_ivb
 kms_pipe_crc_basic
 kms_plane
+kms_prop_blob
 kms_psr_sink_crc
 kms_pwrite_crc
 kms_render
tests/Makefile.sources +1 -0
index 4cbc50d..ae4a189 100644
@@ -69,6 +69,7 @@ TESTS_progs_M = \
 	kms_pipe_b_c_ivb \
 	kms_pipe_crc_basic \
 	kms_plane \
+	kms_prop_blob \
 	kms_psr_sink_crc \
 	kms_render \
 	kms_rotation_crc \
tests/kms_prop_blob.c new file +234 -0

234 lines not on this page · raw message

Signature · 6 lines
2.3.5

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