Skip to contentSkip to conversation

vc4: Test setting labels of BOs.

PATCH In review Eric Anholt 2 participants 2 messages Jun 22, 2017 – Jun 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vc4: Test setting labels of BOs.

So far this test is basically making sure that we throw appropriate errors, and don't oops the kernel with silly inputs.

---
 tests/Makefile.am      |  2 ++
 tests/Makefile.sources |  1 +
 tests/vc4_label_bo.c   | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+)
 create mode 100644 tests/vc4_label_bo.c
tests/Makefile.am +2 -0
index a5cfcab8ed7e..eca2aeca5d0c 100644
@@ -122,6 +122,8 @@ prime_nv_pcopy_CFLAGS = $(AM_CFLAGS) $(DRM_NOUVEAU_CFLAGS)
 prime_nv_pcopy_LDADD = $(LDADD) $(DRM_NOUVEAU_LIBS)
 vc4_create_bo_CFLAGS = $(AM_CFLAGS) $(DRM_VC4_CFLAGS)
 vc4_create_bo_LDADD = $(LDADD) $(DRM_VC4_LIBS)
+vc4_label_bo_CFLAGS = $(AM_CFLAGS) $(DRM_VC4_CFLAGS)
+vc4_label_bo_LDADD = $(LDADD) $(DRM_VC4_LIBS)
 vc4_lookup_fail_CFLAGS = $(AM_CFLAGS) $(DRM_VC4_CFLAGS)
 vc4_lookup_fail_LDADD = $(LDADD) $(DRM_VC4_LIBS)
 vc4_dmabuf_poll_CFLAGS = $(AM_CFLAGS) $(DRM_VC4_CFLAGS)
tests/Makefile.sources +1 -0
index 700914a8d8c9..592418b54c68 100644
@@ -8,6 +8,7 @@ VC4_TESTS = \
 	vc4_create_bo \
 	vc4_dmabuf_poll \
 	vc4_lookup_fail \
+	vc4_label_bo \
 	vc4_tiling \
 	vc4_wait_bo \
 	vc4_wait_seqno \
tests/vc4_label_bo.c new file +95 -0

95 lines not on this page · raw message

Signature · 6 lines
2.11.0

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