[PATCH libdrm] tegra: Add VIC clear test

Emil Velikov emil.l.velikov at gmail.com
Thu May 21 07:58:10 PDT 2015


Hi Arto,

On 21 May 2015 at 14:18, Arto Merilainen <amerilainen at nvidia.com> wrote:
> 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 <amerilainen at nvidia.com>
> ---
>  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.

diff --git a/tests/tegra/Makefile.am b/tests/tegra/Makefile.am
index 8e625c8..a771b32 100644
--- a/tests/tegra/Makefile.am
+++ b/tests/tegra/Makefile.am
@@ -11,3 +11,7 @@ LDADD = \

 noinst_PROGRAMS = \
        openclose \
        submit_vic
+
+noinst_HEADERS = \
+       host1x.h \
+       vic.h


Thanks
Emil


More information about the dri-devel mailing list