[igt-dev] [PATCH i-g-t 2/2] scripts/generate_clear_kernel: Clean up header license/copyright.

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Jun 11 03:44:35 UTC 2020


SPDX header already states it is MIT, no need for duplication on the
copyright notice.

Reference: https://lists.freedesktop.org/archives/intel-gfx/2020-June/241548.html
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
 lib/i915/shaders/clear_kernel/hsw.asm | 26 ++------------------------
 lib/i915/shaders/clear_kernel/ivb.asm | 26 ++------------------------
 2 files changed, 4 insertions(+), 48 deletions(-)

diff --git a/lib/i915/shaders/clear_kernel/hsw.asm b/lib/i915/shaders/clear_kernel/hsw.asm
index bc29baf2..5fdf384b 100644
--- a/lib/i915/shaders/clear_kernel/hsw.asm
+++ b/lib/i915/shaders/clear_kernel/hsw.asm
@@ -1,31 +1,9 @@
-/* SPDX-License-Identifier: MIT */
+// SPDX-License-Identifier: MIT
 /*
  * Copyright © 2020 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
  */
 
-/**
- * Kernel name: hsw_clear_buf.asm
- *
+/*
  * Kernel for PAVP buffer clear.
  *
  *	1. Clear all 64 GRF registers assigned to the kernel with designated value;
diff --git a/lib/i915/shaders/clear_kernel/ivb.asm b/lib/i915/shaders/clear_kernel/ivb.asm
index b21bc948..97c7ac9e 100644
--- a/lib/i915/shaders/clear_kernel/ivb.asm
+++ b/lib/i915/shaders/clear_kernel/ivb.asm
@@ -1,31 +1,9 @@
-/* SPDX-License-Identifier: MIT */
+// SPDX-License-Identifier: MIT
 /*
  * Copyright © 2020 Intel Corporation
- *
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
- * Software is furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice (including the next
- * paragraph) shall be included in all copies or substantial portions of the
- * Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
- * DEALINGS IN THE SOFTWARE.
- *
  */
 
-/**
- * Kernel name: ivb_clear_buf.asm
- *
+/*
  * Kernel for PAVP buffer clear.
  *
  *	1. Clear all 64 GRF registers assigned to the kernel with designated value;
-- 
2.24.1



More information about the igt-dev mailing list