tegra: Add VIC clear test
PATCH 1/1 tegra: Add VIC clear test
This patch adds a simple test for testing Video-Image-Compositor engine on Tegra124 SoC. The test case opens a channel and performs a surface clear.
--- tests/tegra/Makefile.am | 3 +- tests/tegra/host1x.h | 52 ++++++ tests/tegra/submit_vic.c | 315 +++++++++++++++++++++++++++++++++++ tests/tegra/vic.h | 426 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 795 insertions(+), 1 deletion(-) create mode 100644 tests/tegra/host1x.h create mode 100644 tests/tegra/submit_vic.c create mode 100644 tests/tegra/vic.h
tests/tegra/Makefile.am +2 -1
@@ -10,4 +10,5 @@ LDADD = \ ../../libdrm.la noinst_PROGRAMS = \ - openclose + openclose \ + submit_vic
tests/tegra/host1x.h new file +52 -0
52 lines not on this page · raw message
tests/tegra/submit_vic.c new file +315 -0
315 lines not on this page · raw message
tests/tegra/vic.h new file +426 -0
426 lines not on this page · raw message
Signature · 6 lines
1.8.1.5 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel
A message that is not in the archive (sent off-list or not yet received): 1432214320-27077-1-git-send-email-amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Hi Arto,
Quoted 5 lines · Arto Merilainen
This patch adds a simple test for testing Video-Image-Compositor engine on Tegra124 SoC. The test case opens a channel and performs a surface clear.
Signed-off-by Arto Merilainen <[email protected]>
Quoted 10 lines
--- tests/tegra/Makefile.am | 3 +- tests/tegra/host1x.h | 52 ++++++ tests/tegra/submit_vic.c | 315 +++++++++++++++++++++++++++++++++++ tests/tegra/vic.h | 426 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 795 insertions(+), 1 deletion(-) create mode 100644 tests/tegra/host1x.h create mode 100644 tests/tegra/submit_vic.c create mode 100644 tests/tegra/vic.h
Please add the two new headers into the noinst_HEADERS list like below. Otherwise they won''t end up in the tarball, thus the test will fail to build.
tests/tegra/Makefile.am +0 -0
@@ -11,3 +11,7 @@ LDADD = \ noinst_PROGRAMS = \ openclose \
submit_vic
+
+noinst_HEADERS = \
+ host1x.h \
+ vic.h
Thanks
Emil
Thank you Emil for your feedback,
Quoted 19 lines · Emil Velikov
Hi Arto,
Quoted 11 lines · Arto Merilainen
This patch adds a simple test for testing Video-Image-Compositor engine on Tegra124 SoC. The test case opens a channel and performs a surface clear.
Signed-off-by Arto Merilainen <[email protected]>--- tests/tegra/Makefile.am | 3 +- tests/tegra/host1x.h | 52 ++++++ tests/tegra/submit_vic.c | 315 +++++++++++++++++++++++++++++++++++ tests/tegra/vic.h | 426 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 795 insertions(+), 1 deletion(-)Quoted 4 lines
create mode 100644
tests/tegra/host1x.h
create mode 100644tests/tegra/submit_vic.c
create mode 100644tests/tegra/vic.h
Quoted 3 lines
Please add the two new headers into the
noinst_HEADERSlist like below. Otherwise they won''t end up in the tarball, thus the test will fail to build.
I will fix this in the next version.
- Arto