vc4: Test setting labels of BOs.
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.
Signed-off-by Eric Anholt <[email protected]>
--- 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
@@ -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
@@ -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
Quoted 4 lines · Eric Anholt
So far this test is basically making sure that we throw appropriate errors, and don't oops the kernel with silly inputs.
Signed-off-by Eric Anholt <[email protected]>
Acked-by Arkadiusz Hiler <[email protected]>
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx