nouveau/mme: SPDX everything

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>
This commit is contained in:
Faith Ekstrand 2023-09-06 10:43:35 -05:00 committed by Marge Bot
parent 919a717ba4
commit 97c9e01517
24 changed files with 92 additions and 62 deletions

View 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',

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#ifndef MME_BUILDER_H
#define MME_BUILDER_H

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#include "mme_fermi.h"
#include "mme_fermi_encode.h"

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#ifndef MME_FERMI_H
#define MME_FERMI_H

View 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"/>

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#include "mme_builder.h"
#include <stdio.h>

View 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

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#include "mme_fermi.h"
#include "mme_fermi_isa.h"

View 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]);
}
}

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#ifndef MME_FERMI_SIM_H
#define MME_FERMI_SIM_H

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_tu104.h"
#include "mme_tu104_encode.h"

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#ifndef MME_TU104_H
#define MME_TU104_H

View 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"/>

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_builder.h"
#include <stdio.h>

View 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

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_tu104.h"
#include "mme_tu104_isa.h"

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_tu104_sim.h"
#include <inttypes.h>

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#ifndef MME_TU104_SIM_H
#define MME_TU104_SIM_H

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#ifndef MME_VALUE_H
#define MME_VALUE_H

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_runner.h"
#include "mme_tu104_sim.h"

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Mary Guillemard
* SPDX-License-Identifier: MIT
*/
#include "mme_runner.h"
#include "mme_fermi_sim.h"

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_runner.h"
#include <fcntl.h>

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include <gtest/gtest.h>
#include <vector>

View file

@ -1,3 +1,7 @@
/*
* Copyright © 2022 Collabora Ltd.
* SPDX-License-Identifier: MIT
*/
#include "mme_runner.h"
#include "mme_tu104_sim.h"