nouveau/mme: SPDX everything
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Wed, 6 Sep 2023 15:43:35 +0000 (10:43 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 6 Sep 2023 17:05:58 +0000 (17:05 +0000)
For all the Fermi stuff, I've credited Mary because she wrote it before
joining Collabora.  For everything else, credit Collabora.

Acked-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25085>

24 files changed:
src/nouveau/mme/meson.build
src/nouveau/mme/mme_builder.h
src/nouveau/mme/mme_fermi.c
src/nouveau/mme/mme_fermi.h
src/nouveau/mme/mme_fermi.xml
src/nouveau/mme/mme_fermi_builder.c
src/nouveau/mme/mme_fermi_builder.h
src/nouveau/mme/mme_fermi_dump.c
src/nouveau/mme/mme_fermi_sim.c
src/nouveau/mme/mme_fermi_sim.h
src/nouveau/mme/mme_tu104.c
src/nouveau/mme/mme_tu104.h
src/nouveau/mme/mme_tu104.xml
src/nouveau/mme/mme_tu104_builder.c
src/nouveau/mme/mme_tu104_builder.h
src/nouveau/mme/mme_tu104_dump.c
src/nouveau/mme/mme_tu104_sim.c
src/nouveau/mme/mme_tu104_sim.h
src/nouveau/mme/mme_value.h
src/nouveau/mme/tests/mme_builder_test.cpp
src/nouveau/mme/tests/mme_fermi_sim_hw_test.cpp
src/nouveau/mme/tests/mme_runner.cpp
src/nouveau/mme/tests/mme_runner.h
src/nouveau/mme/tests/mme_tu104_sim_hw_test.cpp

index 74f853b..205d7b3 100644 (file)
@@ -1,22 +1,5 @@
 # Copyright © 2022 Collabora, Ltd.
-
-# 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 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.
+# SPDX-License-Identifier: MIT
 
 mme_tu104_isa_depend_files = [
   'mme_tu104.xml',
index 0646a61..0a5eb32 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_BUILDER_H
 #define MME_BUILDER_H
 
index eedb5d1..94c080d 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_fermi.h"
 #include "mme_fermi_encode.h"
 
index a7d2d50..9653e3b 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_FERMI_H
 #define MME_FERMI_H
 
index 0854745..13f2ef7 100644 (file)
@@ -1,26 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright (C) 2022 marysaka <mary@mary.zone> 
-
-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.
- -->
+Copyright © 2022 Mary Guillemard
+SPDX-License-Identifier: MIT
+-->
 <isa>
   <enum name="#reg">
     <value val="0" display="zero"/>
index 9e71674..68ae60d 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_builder.h"
 
 #include <stdio.h>
index 5a7cc7c..b4c15dd 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_BUILDER_H
 #error "This file must only be included by mme_builder.h"
 #endif
index 69bdd9c..fa8bd09 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_fermi.h"
 
 #include "mme_fermi_isa.h"
index 467f2e5..126143b 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_fermi_sim.h"
 
 #include <inttypes.h>
@@ -368,4 +372,4 @@ void mme_fermi_sim(uint32_t inst_count, const struct mme_fermi_inst *insts,
    // Handle delay slot at exit
    assert(sim.ip < inst_count);
    eval_inst(&sim, &insts[sim.ip]);
-}
\ No newline at end of file
+}
index e84cbb0..6908086 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_FERMI_SIM_H
 #define MME_FERMI_SIM_H
 
index a8e0cea..5b13e2c 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_tu104.h"
 #include "mme_tu104_encode.h"
 
index 8e141eb..1389a38 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_TU104_H
 #define MME_TU104_H
 
index c7458be..78c7ef9 100644 (file)
@@ -1,27 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
-Copyright © 2022 Collabor, Ltd.
-
-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.
- -->
-
+Copyright © 2022 Collabora Ltd.
+SPDX-License-Identifier: MIT
+-->
 <isa>
   <enum name="#pred">
     <value val="0"  display="UUUU"/>
index 6ff413b..52d1e9a 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_builder.h"
 
 #include <stdio.h>
index 1cf605b..2605896 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_BUILDER_H
 #error "This file must only be included by mme_builder.h"
 #endif
index 9ce8239..639122f 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_tu104.h"
 
 #include "mme_tu104_isa.h"
index d64e068..b7356ce 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_tu104_sim.h"
 
 #include <inttypes.h>
index af10ff8..9b03c0c 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_TU104_SIM_H
 #define MME_TU104_SIM_H
 
index c369bfd..1a434b9 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #ifndef MME_VALUE_H
 #define MME_VALUE_H
 
index 513bd89..5cf5114 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_runner.h"
 #include "mme_tu104_sim.h"
 
index 8825424..f21fb0a 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Mary Guillemard
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_runner.h"
 
 #include "mme_fermi_sim.h"
index 8dc9926..b9e3193 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_runner.h"
 
 #include <fcntl.h>
index e25b107..b2597ae 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include <gtest/gtest.h>
 #include <vector>
 
index 6b1d06e..84b5ef6 100644 (file)
@@ -1,3 +1,7 @@
+/*
+ * Copyright © 2022 Collabora Ltd.
+ * SPDX-License-Identifier: MIT
+ */
 #include "mme_runner.h"
 #include "mme_tu104_sim.h"