Skip to contentSkip to conversation

Add license and copyright information

PATCH In review Laurent Pinchart 2 participants 5 messages Jul 13, 2020 – Jul 14, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Add license and copyright information

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                    | 2 ++
 README                      | 3 +++
 data/Makefile               | 2 ++
 data/frames/.gitignore      | 2 ++
 data/frames/Makefile        | 2 ++
 data/frames/gen-lut.py      | 2 ++
 scripts/Makefile            | 2 ++
 scripts/bin2png.sh          | 2 ++
 scripts/histo2png.py        | 2 ++
 scripts/logger.sh           | 2 ++
 scripts/vsp-lib.sh          | 2 ++
 scripts/vsp-tests.sh        | 2 ++
 src/.gitignore              | 2 ++
 src/Makefile                | 2 ++
 tests/Makefile              | 2 ++
 tests/vsp-unit-test-0000.sh | 2 ++
 tests/vsp-unit-test-0001.sh | 2 ++
 tests/vsp-unit-test-0002.sh | 2 ++
 tests/vsp-unit-test-0003.sh | 2 ++
 tests/vsp-unit-test-0004.sh | 2 ++
 tests/vsp-unit-test-0005.sh | 2 ++
 tests/vsp-unit-test-0006.sh | 2 ++
 tests/vsp-unit-test-0007.sh | 2 ++
 tests/vsp-unit-test-0008.sh | 2 ++
 tests/vsp-unit-test-0009.sh | 2 ++
 tests/vsp-unit-test-0010.sh | 2 ++
 tests/vsp-unit-test-0011.sh | 2 ++
 tests/vsp-unit-test-0012.sh | 2 ++
 tests/vsp-unit-test-0013.sh | 2 ++
 tests/vsp-unit-test-0014.sh | 2 ++
 tests/vsp-unit-test-0015.sh | 2 ++
 tests/vsp-unit-test-0016.sh | 2 ++
 tests/vsp-unit-test-0017.sh | 2 ++
 tests/vsp-unit-test-0018.sh | 2 ++
 tests/vsp-unit-test-0019.sh | 2 ++
 tests/vsp-unit-test-0020.sh | 2 ++
 tests/vsp-unit-test-0021.sh | 2 ++
 tests/vsp-unit-test-0022.sh | 2 ++
 tests/vsp-unit-test-0023.sh | 2 ++
 tests/vsp-unit-test-0024.sh | 2 ++
 tests/vsp-unit-test-0025.sh | 2 ++
 41 files changed, 83 insertions(+)
 mode change 100755 => 100644 scripts/bin2png.sh
 mode change 100755 => 100644 scripts/histo2png.py
 mode change 100755 => 100644 scripts/logger.sh
 mode change 100755 => 100644 scripts/vsp-lib.sh
 mode change 100755 => 100644 scripts/vsp-tests.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0000.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0001.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0002.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0003.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0004.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0005.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0006.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0007.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0008.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0009.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0010.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0011.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0012.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0013.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0014.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0015.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0016.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0017.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0018.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0019.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0020.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0021.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0022.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0023.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0024.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0025.sh
Makefile +2 -0
index a1040781421a..4d311e1b84a9 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=data scripts src tests
 
 recursive=all clean install
README +3 -0
index 0d5a6967d7f5..e45d03a0e944 100644
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2016-2019 Renesas Electronics Corporation
+
 vsp-tests
 ---------
 
data/Makefile +2 -0
index 768a3463a81c..a65b5bcdc4e4 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=frames
 
 recursive=all clean install
data/frames/.gitignore +2 -0
index a8a0dcec4472..2c0a1ff3d654 100644
@@ -1 +1,3 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.bin
data/frames/Makefile +2 -0
index 37c284f7be93..026cbdd53eed 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 frames=$(patsubst %.pnm.gz,%.pnm,$(wildcard *.pnm.gz))
 
 all:
data/frames/gen-lut.py +2 -0
index f180ad6dfc7f..07889b11f4ac 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import math
 import sys
scripts/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
scripts/bin2png.sh +2 -0
old mode 100755
new mode 100644
index 6422ee51bc33..d231d192e772
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 FILE=${1:-.}
 
scripts/histo2png.py +2 -0
old mode 100755
new mode 100644
index ff1da21e1ab1..aef236343f6f
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import matplotlib.pyplot as plt
 import struct
scripts/logger.sh +2 -0
old mode 100755
new mode 100644
index 8412b0ba9a08..97e1f582da2b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 now() {
 	awk '/^now/ {time=$3; printf("[%u.%06u]", time / 1000000000, (time % 1000000000) / 1000) ; exit}' /proc/timer_list
scripts/vsp-lib.sh +2 -0
old mode 100755
new mode 100644
index c0eb1ca4774c..a8898e80a879
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 genimage='./gen-image'
 mediactl='media-ctl'
scripts/vsp-tests.sh +2 -0
old mode 100755
new mode 100644
index 1ed81713e5c5..e6cae04ebf0b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 ##
 ## VSP Tests runner
src/.gitignore +2 -0
index 0c9be8665c9f..d42c924f0422 100644
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.o
 gen-image
src/Makefile +2 -0
index 564ee24df1d3..d7f901f58be6 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 CROSS_COMPILE ?=
 
 CC	:= $(CROSS_COMPILE)gcc
tests/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
tests/vsp-unit-test-0000.sh +2 -0
old mode 100755
new mode 100644
index 5f40af7f87d1..0815037a52f4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 # Report testing conditions
 
tests/vsp-unit-test-0001.sh +2 -0
old mode 100755
new mode 100644
index 746e652418ff..6e91ca665473
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0002.sh +2 -0
old mode 100755
new mode 100644
index 1a617a8b4d4d..65af446220fd
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in YUV mode. Use a RPF -> WPF pipeline with a fixed YUYV
tests/vsp-unit-test-0003.sh +2 -0
old mode 100755
new mode 100644
index 41c40b9ae1fb..0c83bdccd436
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF
tests/vsp-unit-test-0004.sh +2 -0
old mode 100755
new mode 100644
index 69b875bbd81c..1f064def49f6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 1D histogram generation. Use a RPF -> WPF pipeline with the HGO hooked
tests/vsp-unit-test-0005.sh +2 -0
old mode 100755
new mode 100644
index 04c79c4b321c..a132cbfd9da4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all RPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0006.sh +2 -0
old mode 100755
new mode 100644
index 8781498d3bcd..1191e2643ca5
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test invalid pipelines, without an RPF or without a WPF.
tests/vsp-unit-test-0007.sh +2 -0
old mode 100755
new mode 100644
index d5ba44c2ab37..2d96e3ba53e7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRU in RGB and YUV formats.
tests/vsp-unit-test-0008.sh +2 -0
old mode 100755
new mode 100644
index 717560f8cfae..7532d114fc00
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes with a BRU inserted in
tests/vsp-unit-test-0009.sh +2 -0
old mode 100755
new mode 100644
index 8814665b01f8..8fa2014f6d59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all WPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0010.sh +2 -0
old mode 100755
new mode 100644
index 268b1c44b440..1486fb871eaa
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test CLU and LUT in RGB and YUV modes. Use a RPF -> CLU -> WPF and
tests/vsp-unit-test-0011.sh +2 -0
old mode 100755
new mode 100644
index 6d24477a18cf..ada878c1cdb7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0.
tests/vsp-unit-test-0012.sh +2 -0
old mode 100755
new mode 100644
index 4c843cdd880d..ac9a38ec6233
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test runtime modification of horizontal and vertical flipping on WPF.0.
tests/vsp-unit-test-0013.sh +2 -0
old mode 100755
new mode 100644
index ac05d904df3e..9faf5817d607
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0014.sh +2 -0
old mode 100755
new mode 100644
index 6d07bb2af34b..4d749d78da59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed YUV444M
tests/vsp-unit-test-0015.sh +2 -0
old mode 100755
new mode 100644
index 831817895589..727874291710
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test SRU upscaling in RGB and YUV modes.
tests/vsp-unit-test-0016.sh +2 -0
old mode 100755
new mode 100644
index 69a1099cd375..89379634d584
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0
tests/vsp-unit-test-0017.sh +2 -0
old mode 100755
new mode 100644
index 26cf4af68fca..037e2ba300b1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RGB to HSV conversion: Use a RPF -> HST -> WPF pipeline with a fixed
tests/vsp-unit-test-0018.sh +2 -0
old mode 100755
new mode 100644
index 015555cd2f0f..77cf936770d2
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test RPF crop using RGB. Use a RPF -> WPF pipeline, passing a selection of
tests/vsp-unit-test-0019.sh +2 -0
old mode 100755
new mode 100644
index ab20733ce0ac..06d233992980
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are idle
tests/vsp-unit-test-0020.sh +2 -0
old mode 100755
new mode 100644
index c662466b76de..c322da585eb1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2018 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are active
tests/vsp-unit-test-0021.sh +2 -0
old mode 100755
new mode 100644
index 5e05faac0f5a..df4a4a452598
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0022.sh +2 -0
old mode 100755
new mode 100644
index fd9ea3258de2..dc1e6986650c
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0023.sh +2 -0
old mode 100755
new mode 100644
index 371fbea84f3e..1eff34ef40b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 2D histogram generation. Use a RPF -> HST -> HSI -> WPF pipeline
tests/vsp-unit-test-0024.sh +2 -0
old mode 100755
new mode 100644
index a8f4144cbffc..d9b70b11225e
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRS in RGB and YUV formats.
tests/vsp-unit-test-0025.sh +2 -0
old mode 100755
new mode 100644
index b0216df54f98..db10ebe3f4b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 #
 # Test pipelines which have a single pixel dimension. Use a RPF -> WPF
Signature · 3 lines
Regards,

Laurent Pinchart
#1 lore raw

PATCH 2/2 gen-image: Replace copyright text with SPDX tags

Standardize on the usage of SPDX tags. No change in copyright is included.

---
 src/gen-image.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
src/gen-image.c +2 -8
index 0ee97749ebbf..d9f92253af46 100644
@@ -1,11 +1,5 @@
-/*
- * Copyright (C) 2016 Laurent Pinchart <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-FileCopyrightText: 2016 Laurent Pinchart <[email protected]> */
 
 #include <ctype.h>
 #include <errno.h>
Signature · 3 lines
Regards,

Laurent Pinchart
Reviewed-by on v1 2/2
#2 lore raw

Re: [vsp-tests] [PATCH 2/2] gen-image: Replace copyright text with SPDX tags

Hi Laurent,

Quoted 4 lines · Laurent Pinchart

Standardize on the usage of SPDX tags. No change in copyright is included.

Quoted 23 lines
---
 src/gen-image.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
src/gen-image.c +2 -8
index 0ee97749ebbf..d9f92253af46 100644
@@ -1,11 +1,5 @@
-/*
- * Copyright (C) 2016 Laurent Pinchart <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-FileCopyrightText: 2016 Laurent Pinchart <[email protected]> */
 
 #include <ctype.h>
 #include <errno.h>
Signature · 3 lines
Regards
--
Kieran
Reviewed-by on v1 1/2
#3 lore raw
In reply to Laurent Pinchart

Hi Laurent,

Quoted 70 lines · Laurent Pinchart

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                    | 2 ++
 README                      | 3 +++
 data/Makefile               | 2 ++
 data/frames/.gitignore      | 2 ++
 data/frames/Makefile        | 2 ++
 data/frames/gen-lut.py      | 2 ++
 scripts/Makefile            | 2 ++
 scripts/bin2png.sh          | 2 ++
 scripts/histo2png.py        | 2 ++
 scripts/logger.sh           | 2 ++
 scripts/vsp-lib.sh          | 2 ++
 scripts/vsp-tests.sh        | 2 ++
 src/.gitignore              | 2 ++
 src/Makefile                | 2 ++
 tests/Makefile              | 2 ++
 tests/vsp-unit-test-0000.sh | 2 ++
 tests/vsp-unit-test-0001.sh | 2 ++
 tests/vsp-unit-test-0002.sh | 2 ++
 tests/vsp-unit-test-0003.sh | 2 ++
 tests/vsp-unit-test-0004.sh | 2 ++
 tests/vsp-unit-test-0005.sh | 2 ++
 tests/vsp-unit-test-0006.sh | 2 ++
 tests/vsp-unit-test-0007.sh | 2 ++
 tests/vsp-unit-test-0008.sh | 2 ++
 tests/vsp-unit-test-0009.sh | 2 ++
 tests/vsp-unit-test-0010.sh | 2 ++
 tests/vsp-unit-test-0011.sh | 2 ++
 tests/vsp-unit-test-0012.sh | 2 ++
 tests/vsp-unit-test-0013.sh | 2 ++
 tests/vsp-unit-test-0014.sh | 2 ++
 tests/vsp-unit-test-0015.sh | 2 ++
 tests/vsp-unit-test-0016.sh | 2 ++
 tests/vsp-unit-test-0017.sh | 2 ++
 tests/vsp-unit-test-0018.sh | 2 ++
 tests/vsp-unit-test-0019.sh | 2 ++
 tests/vsp-unit-test-0020.sh | 2 ++
 tests/vsp-unit-test-0021.sh | 2 ++
 tests/vsp-unit-test-0022.sh | 2 ++
 tests/vsp-unit-test-0023.sh | 2 ++
 tests/vsp-unit-test-0024.sh | 2 ++
 tests/vsp-unit-test-0025.sh | 2 ++
 41 files changed, 83 insertions(+)
 mode change 100755 => 100644 scripts/bin2png.sh
 mode change 100755 => 100644 scripts/histo2png.py
 mode change 100755 => 100644 scripts/logger.sh
 mode change 100755 => 100644 scripts/vsp-lib.sh
 mode change 100755 => 100644 scripts/vsp-tests.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0000.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0001.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0002.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0003.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0004.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0005.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0006.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0007.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0008.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0009.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0010.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0011.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0012.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0013.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0014.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0015.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0016.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0017.sh
Quoted 8 lines
 mode change 100755 => 100644 tests/vsp-unit-test-0018.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0019.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0020.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0021.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0022.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0023.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0024.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0025.sh

Have you done all this intentionally? or is this a side effect of some script?

It's not mentioned at all in the commit message.

I assume the +x bit will get (re)set on install?

Though I kind of which we didn't have to have an install phase to be able to run tests, but it's not that big a deal.

--

For the copyright changes below:

Quoted 503 lines
Makefile +2 -0
index a1040781421a..4d311e1b84a9 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=data scripts src tests
 
 recursive=all clean install
README +3 -0
index 0d5a6967d7f5..e45d03a0e944 100644
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2016-2019 Renesas Electronics Corporation
+
 vsp-tests
 ---------
 
data/Makefile +2 -0
index 768a3463a81c..a65b5bcdc4e4 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=frames
 
 recursive=all clean install
data/frames/.gitignore +2 -0
index a8a0dcec4472..2c0a1ff3d654 100644
@@ -1 +1,3 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.bin
data/frames/Makefile +2 -0
index 37c284f7be93..026cbdd53eed 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 frames=$(patsubst %.pnm.gz,%.pnm,$(wildcard *.pnm.gz))
 
 all:
data/frames/gen-lut.py +2 -0
index f180ad6dfc7f..07889b11f4ac 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import math
 import sys
scripts/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
scripts/bin2png.sh +2 -0
old mode 100755
new mode 100644
index 6422ee51bc33..d231d192e772
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 FILE=${1:-.}
 
scripts/histo2png.py +2 -0
old mode 100755
new mode 100644
index ff1da21e1ab1..aef236343f6f
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import matplotlib.pyplot as plt
 import struct
scripts/logger.sh +2 -0
old mode 100755
new mode 100644
index 8412b0ba9a08..97e1f582da2b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 now() {
 	awk '/^now/ {time=$3; printf("[%u.%06u]", time / 1000000000, (time % 1000000000) / 1000) ; exit}' /proc/timer_list
scripts/vsp-lib.sh +2 -0
old mode 100755
new mode 100644
index c0eb1ca4774c..a8898e80a879
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 genimage='./gen-image'
 mediactl='media-ctl'
scripts/vsp-tests.sh +2 -0
old mode 100755
new mode 100644
index 1ed81713e5c5..e6cae04ebf0b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 ##
 ## VSP Tests runner
src/.gitignore +2 -0
index 0c9be8665c9f..d42c924f0422 100644
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.o
 gen-image
src/Makefile +2 -0
index 564ee24df1d3..d7f901f58be6 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 CROSS_COMPILE ?=
 
 CC	:= $(CROSS_COMPILE)gcc
tests/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
tests/vsp-unit-test-0000.sh +2 -0
old mode 100755
new mode 100644
index 5f40af7f87d1..0815037a52f4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 # Report testing conditions
 
tests/vsp-unit-test-0001.sh +2 -0
old mode 100755
new mode 100644
index 746e652418ff..6e91ca665473
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0002.sh +2 -0
old mode 100755
new mode 100644
index 1a617a8b4d4d..65af446220fd
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in YUV mode. Use a RPF -> WPF pipeline with a fixed YUYV
tests/vsp-unit-test-0003.sh +2 -0
old mode 100755
new mode 100644
index 41c40b9ae1fb..0c83bdccd436
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF
tests/vsp-unit-test-0004.sh +2 -0
old mode 100755
new mode 100644
index 69b875bbd81c..1f064def49f6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 1D histogram generation. Use a RPF -> WPF pipeline with the HGO hooked
tests/vsp-unit-test-0005.sh +2 -0
old mode 100755
new mode 100644
index 04c79c4b321c..a132cbfd9da4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all RPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0006.sh +2 -0
old mode 100755
new mode 100644
index 8781498d3bcd..1191e2643ca5
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test invalid pipelines, without an RPF or without a WPF.
tests/vsp-unit-test-0007.sh +2 -0
old mode 100755
new mode 100644
index d5ba44c2ab37..2d96e3ba53e7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRU in RGB and YUV formats.
tests/vsp-unit-test-0008.sh +2 -0
old mode 100755
new mode 100644
index 717560f8cfae..7532d114fc00
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes with a BRU inserted in
tests/vsp-unit-test-0009.sh +2 -0
old mode 100755
new mode 100644
index 8814665b01f8..8fa2014f6d59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all WPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0010.sh +2 -0
old mode 100755
new mode 100644
index 268b1c44b440..1486fb871eaa
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test CLU and LUT in RGB and YUV modes. Use a RPF -> CLU -> WPF and
tests/vsp-unit-test-0011.sh +2 -0
old mode 100755
new mode 100644
index 6d24477a18cf..ada878c1cdb7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0.
tests/vsp-unit-test-0012.sh +2 -0
old mode 100755
new mode 100644
index 4c843cdd880d..ac9a38ec6233
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test runtime modification of horizontal and vertical flipping on WPF.0.
tests/vsp-unit-test-0013.sh +2 -0
old mode 100755
new mode 100644
index ac05d904df3e..9faf5817d607
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0014.sh +2 -0
old mode 100755
new mode 100644
index 6d07bb2af34b..4d749d78da59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed YUV444M
tests/vsp-unit-test-0015.sh +2 -0
old mode 100755
new mode 100644
index 831817895589..727874291710
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test SRU upscaling in RGB and YUV modes.
tests/vsp-unit-test-0016.sh +2 -0
old mode 100755
new mode 100644
index 69a1099cd375..89379634d584
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0
tests/vsp-unit-test-0017.sh +2 -0
old mode 100755
new mode 100644
index 26cf4af68fca..037e2ba300b1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RGB to HSV conversion: Use a RPF -> HST -> WPF pipeline with a fixed
tests/vsp-unit-test-0018.sh +2 -0
old mode 100755
new mode 100644
index 015555cd2f0f..77cf936770d2
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test RPF crop using RGB. Use a RPF -> WPF pipeline, passing a selection of
tests/vsp-unit-test-0019.sh +2 -0
old mode 100755
new mode 100644
index ab20733ce0ac..06d233992980
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are idle
tests/vsp-unit-test-0020.sh +2 -0
old mode 100755
new mode 100644
index c662466b76de..c322da585eb1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2018 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are active
tests/vsp-unit-test-0021.sh +2 -0
old mode 100755
new mode 100644
index 5e05faac0f5a..df4a4a452598
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0022.sh +2 -0
old mode 100755
new mode 100644
index fd9ea3258de2..dc1e6986650c
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0023.sh +2 -0
old mode 100755
new mode 100644
index 371fbea84f3e..1eff34ef40b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 2D histogram generation. Use a RPF -> HST -> HSI -> WPF pipeline
tests/vsp-unit-test-0024.sh +2 -0
old mode 100755
new mode 100644
index a8f4144cbffc..d9b70b11225e
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRS in RGB and YUV formats.
tests/vsp-unit-test-0025.sh +2 -0
old mode 100755
new mode 100644
index b0216df54f98..db10ebe3f4b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 #
 # Test pipelines which have a single pixel dimension. Use a RPF -> WPF
Signature · 3 lines
Regards
--
Kieran
#4 lore raw
Quoted 82 lines · Kieran Bingham

Hi Laurent,

Quoted 70 lines · Laurent Pinchart

Add SPDX tags to describe license and copyright information to all files in the repository.

---
 Makefile                    | 2 ++
 README                      | 3 +++
 data/Makefile               | 2 ++
 data/frames/.gitignore      | 2 ++
 data/frames/Makefile        | 2 ++
 data/frames/gen-lut.py      | 2 ++
 scripts/Makefile            | 2 ++
 scripts/bin2png.sh          | 2 ++
 scripts/histo2png.py        | 2 ++
 scripts/logger.sh           | 2 ++
 scripts/vsp-lib.sh          | 2 ++
 scripts/vsp-tests.sh        | 2 ++
 src/.gitignore              | 2 ++
 src/Makefile                | 2 ++
 tests/Makefile              | 2 ++
 tests/vsp-unit-test-0000.sh | 2 ++
 tests/vsp-unit-test-0001.sh | 2 ++
 tests/vsp-unit-test-0002.sh | 2 ++
 tests/vsp-unit-test-0003.sh | 2 ++
 tests/vsp-unit-test-0004.sh | 2 ++
 tests/vsp-unit-test-0005.sh | 2 ++
 tests/vsp-unit-test-0006.sh | 2 ++
 tests/vsp-unit-test-0007.sh | 2 ++
 tests/vsp-unit-test-0008.sh | 2 ++
 tests/vsp-unit-test-0009.sh | 2 ++
 tests/vsp-unit-test-0010.sh | 2 ++
 tests/vsp-unit-test-0011.sh | 2 ++
 tests/vsp-unit-test-0012.sh | 2 ++
 tests/vsp-unit-test-0013.sh | 2 ++
 tests/vsp-unit-test-0014.sh | 2 ++
 tests/vsp-unit-test-0015.sh | 2 ++
 tests/vsp-unit-test-0016.sh | 2 ++
 tests/vsp-unit-test-0017.sh | 2 ++
 tests/vsp-unit-test-0018.sh | 2 ++
 tests/vsp-unit-test-0019.sh | 2 ++
 tests/vsp-unit-test-0020.sh | 2 ++
 tests/vsp-unit-test-0021.sh | 2 ++
 tests/vsp-unit-test-0022.sh | 2 ++
 tests/vsp-unit-test-0023.sh | 2 ++
 tests/vsp-unit-test-0024.sh | 2 ++
 tests/vsp-unit-test-0025.sh | 2 ++
 41 files changed, 83 insertions(+)
 mode change 100755 => 100644 scripts/bin2png.sh
 mode change 100755 => 100644 scripts/histo2png.py
 mode change 100755 => 100644 scripts/logger.sh
 mode change 100755 => 100644 scripts/vsp-lib.sh
 mode change 100755 => 100644 scripts/vsp-tests.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0000.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0001.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0002.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0003.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0004.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0005.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0006.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0007.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0008.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0009.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0010.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0011.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0012.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0013.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0014.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0015.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0016.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0017.sh
Quoted 8 lines
 mode change 100755 => 100644 tests/vsp-unit-test-0018.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0019.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0020.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0021.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0022.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0023.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0024.sh
 mode change 100755 => 100644 tests/vsp-unit-test-0025.sh
Quoted 4 lines

Have you done all this intentionally? or is this a side effect of some script?

It's not mentioned at all in the commit message.

Oops, it's definitely a side effect. I'll fix it, thank you for noticing it.

Quoted 514 lines

I assume the +x bit will get (re)set on install?

Though I kind of which we didn't have to have an install phase to be able to run tests, but it's not that big a deal.

--

For the copyright changes below:

Quoted 502 lines
Makefile +2 -0
index a1040781421a..4d311e1b84a9 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=data scripts src tests
 
 recursive=all clean install
README +3 -0
index 0d5a6967d7f5..e45d03a0e944 100644
@@ -1,3 +1,6 @@
+.. SPDX-License-Identifier: CC-BY-SA-4.0
+.. SPDX-FileCopyrightText: 2016-2019 Renesas Electronics Corporation
+
 vsp-tests
 ---------
 
data/Makefile +2 -0
index 768a3463a81c..a65b5bcdc4e4 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SUBDIRS=frames
 
 recursive=all clean install
data/frames/.gitignore +2 -0
index a8a0dcec4472..2c0a1ff3d654 100644
@@ -1 +1,3 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.bin
data/frames/Makefile +2 -0
index 37c284f7be93..026cbdd53eed 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 frames=$(patsubst %.pnm.gz,%.pnm,$(wildcard *.pnm.gz))
 
 all:
data/frames/gen-lut.py +2 -0
index f180ad6dfc7f..07889b11f4ac 100755
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import math
 import sys
scripts/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
scripts/bin2png.sh +2 -0
old mode 100755
new mode 100644
index 6422ee51bc33..d231d192e772
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 FILE=${1:-.}
 
scripts/histo2png.py +2 -0
old mode 100755
new mode 100644
index ff1da21e1ab1..aef236343f6f
@@ -1,4 +1,6 @@
 #!/usr/bin/python
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 import matplotlib.pyplot as plt
 import struct
scripts/logger.sh +2 -0
old mode 100755
new mode 100644
index 8412b0ba9a08..97e1f582da2b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Renesas Electronics Corporation
 
 now() {
 	awk '/^now/ {time=$3; printf("[%u.%06u]", time / 1000000000, (time % 1000000000) / 1000) ; exit}' /proc/timer_list
scripts/vsp-lib.sh +2 -0
old mode 100755
new mode 100644
index c0eb1ca4774c..a8898e80a879
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 genimage='./gen-image'
 mediactl='media-ctl'
scripts/vsp-tests.sh +2 -0
old mode 100755
new mode 100644
index 1ed81713e5c5..e6cae04ebf0b
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 ##
 ## VSP Tests runner
src/.gitignore +2 -0
index 0c9be8665c9f..d42c924f0422 100644
@@ -1,2 +1,4 @@
+# SPDX-License-Identifier: CC0-1.0
+
 *.o
 gen-image
src/Makefile +2 -0
index 564ee24df1d3..d7f901f58be6 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 CROSS_COMPILE ?=
 
 CC	:= $(CROSS_COMPILE)gcc
tests/Makefile +2 -0
index 6586b2989aed..6511c3c61ebf 100644
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
 SCRIPTS=$(wildcard *.sh)
 
 all:
tests/vsp-unit-test-0000.sh +2 -0
old mode 100755
new mode 100644
index 5f40af7f87d1..0815037a52f4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 # Report testing conditions
 
tests/vsp-unit-test-0001.sh +2 -0
old mode 100755
new mode 100644
index 746e652418ff..6e91ca665473
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0002.sh +2 -0
old mode 100755
new mode 100644
index 1a617a8b4d4d..65af446220fd
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test WPF packing in YUV mode. Use a RPF -> WPF pipeline with a fixed YUYV
tests/vsp-unit-test-0003.sh +2 -0
old mode 100755
new mode 100644
index 41c40b9ae1fb..0c83bdccd436
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes. Use a RPF -> UDS -> WPF
tests/vsp-unit-test-0004.sh +2 -0
old mode 100755
new mode 100644
index 69b875bbd81c..1f064def49f6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 1D histogram generation. Use a RPF -> WPF pipeline with the HGO hooked
tests/vsp-unit-test-0005.sh +2 -0
old mode 100755
new mode 100644
index 04c79c4b321c..a132cbfd9da4
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all RPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0006.sh +2 -0
old mode 100755
new mode 100644
index 8781498d3bcd..1191e2643ca5
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test invalid pipelines, without an RPF or without a WPF.
tests/vsp-unit-test-0007.sh +2 -0
old mode 100755
new mode 100644
index d5ba44c2ab37..2d96e3ba53e7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRU in RGB and YUV formats.
tests/vsp-unit-test-0008.sh +2 -0
old mode 100755
new mode 100644
index 717560f8cfae..7532d114fc00
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test downscaling and upscaling in RGB and YUV modes with a BRU inserted in
tests/vsp-unit-test-0009.sh +2 -0
old mode 100755
new mode 100644
index 8814665b01f8..8fa2014f6d59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF -> WPF with all WPF instances in sequence. The format doesn't matter
tests/vsp-unit-test-0010.sh +2 -0
old mode 100755
new mode 100644
index 268b1c44b440..1486fb871eaa
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test CLU and LUT in RGB and YUV modes. Use a RPF -> CLU -> WPF and
tests/vsp-unit-test-0011.sh +2 -0
old mode 100755
new mode 100644
index 6d24477a18cf..ada878c1cdb7
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0.
tests/vsp-unit-test-0012.sh +2 -0
old mode 100755
new mode 100644
index 4c843cdd880d..ac9a38ec6233
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test runtime modification of horizontal and vertical flipping on WPF.0.
tests/vsp-unit-test-0013.sh +2 -0
old mode 100755
new mode 100644
index ac05d904df3e..9faf5817d607
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed ARGB32
tests/vsp-unit-test-0014.sh +2 -0
old mode 100755
new mode 100644
index 6d07bb2af34b..4d749d78da59
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RPF unpacking in RGB mode. Use a RPF -> WPF pipeline with a fixed YUV444M
tests/vsp-unit-test-0015.sh +2 -0
old mode 100755
new mode 100644
index 831817895589..727874291710
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test SRU upscaling in RGB and YUV modes.
tests/vsp-unit-test-0016.sh +2 -0
old mode 100755
new mode 100644
index 69a1099cd375..89379634d584
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test all combinations of horizontal flip, vertical flip and rotation on WPF.0
tests/vsp-unit-test-0017.sh +2 -0
old mode 100755
new mode 100644
index 26cf4af68fca..037e2ba300b1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test RGB to HSV conversion: Use a RPF -> HST -> WPF pipeline with a fixed
tests/vsp-unit-test-0018.sh +2 -0
old mode 100755
new mode 100644
index 015555cd2f0f..77cf936770d2
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test RPF crop using RGB. Use a RPF -> WPF pipeline, passing a selection of
tests/vsp-unit-test-0019.sh +2 -0
old mode 100755
new mode 100644
index ab20733ce0ac..06d233992980
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are idle
tests/vsp-unit-test-0020.sh +2 -0
old mode 100755
new mode 100644
index c662466b76de..c322da585eb1
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2018 Renesas Electronics Corporation
 
 #
 # Test power-management suspend/resume whilst pipelines are active
tests/vsp-unit-test-0021.sh +2 -0
old mode 100755
new mode 100644
index 5e05faac0f5a..df4a4a452598
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0022.sh +2 -0
old mode 100755
new mode 100644
index fd9ea3258de2..dc1e6986650c
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test active pipeline, with high load on CPU/Memory/IO using 'stress'
tests/vsp-unit-test-0023.sh +2 -0
old mode 100755
new mode 100644
index 371fbea84f3e..1eff34ef40b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016-2017 Renesas Electronics Corporation
 
 #
 # Test 2D histogram generation. Use a RPF -> HST -> HSI -> WPF pipeline
tests/vsp-unit-test-0024.sh +2 -0
old mode 100755
new mode 100644
index a8f4144cbffc..d9b70b11225e
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Renesas Electronics Corporation
 
 #
 # Test composition through the BRS in RGB and YUV formats.
tests/vsp-unit-test-0025.sh +2 -0
old mode 100755
new mode 100644
index b0216df54f98..db10ebe3f4b6
@@ -1,4 +1,6 @@
 #!/bin/sh
+# SPDX-License-Identifier: GPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Renesas Electronics Corporation
 
 #
 # Test pipelines which have a single pixel dimension. Use a RPF -> WPF
Signature · 3 lines
Regards,

Laurent Pinchart