Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/ROCm/rocm-systems/releases
Upstream-Name: amdsmi
Comment: We also integrate esmi library in the debian folder as currently it's under rapid development
 thus has unstable APIs. Besides, no other package except amdsmi depends on it, and packaging it
 requires the amd_energy and amd HSMP kernel module, which are missing in Debian now.
 .
 amdsmi was relicensed to MIT/Expat in 2024: https://github.com/ROCm/amdsmi/commit/3052ad42205f8939c88e7a84dc9c00b39fbceae0

Files: *
Copyright: Advanced Micro Devices, Inc.
License: Expat

Files: include/amd_smi/impl/amd_hsmp.h
Copyright: 2022-2024, Suma Hegde <suma.hegde@amd.com>
           2024, Arnd Bergmann <arnd@arndb.de>
           2024, Bjorn Helgaas <bhelgaas@google.com>
License: GPL-2 with Linux Syscall Note Exception
Comment: This file was directly copied from the linux kernel
 File is https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/tree/arch/x86/include/uapi/asm/amd_hsmp.h
 Copyright attribution was written by looking at the log for that file in git
 https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/arch/x86/include/uapi/asm/amd_hsmp.h

Files: include/amd_smi/impl/amdgpu_drm.h
Copyright: 2014, Advanced Micro Devices, Inc.
           2002, Tungsten Graphics, Inc.
           2000, VA Linux Systems, Inc.
           2000, Precision Insight, Inc.
License: Expat

Files: include/amd_smi/impl/xf86drm.h
Copyright: 1999-2000, Precision Insight, Inc.
           2000, VA Linux Systems, Inc.
License: Expat

Files: third_party/shared_mutex/*
Copyright: 2019-2024, Advanced Micro Devices, Inc.
           2018, Oleg Yamnikov
License: Expat

Files: debian/*
Copyright: 2024, Xuanteng Huang <xuanteng.huang@outlook.com>
           2025, Cordell Bloor <cgmb@slerp.xyz>
           2025, Mario Limonciello <superm1@gmail.com>
           2025, Tim Flink <tflink@tirfa.com>
           2026, Igor Luppi <igor.luppi@canonical.com>
           2026, Talha Can Havadar <havadartalha@gmail.com>
License: Expat

Files: debian/esmi_ib_library-4.3/*
Copyright: 2023, Advanced Micro Devices, Inc.
License: NCSA
Comment: AMD esmi (EPYC System Management Interface) [1] is a C library for
 Linux that provides a user space interface to monitor and control the CPU's
 power, energy, performance and other system management features.
 .
 esmi library is used to compile amdsmi package.
 .
 We choose to embed esmi in the debian folder as:
 * esmi tests require HSMP and amd_energy kernel module
 * only amdsmi depends on esmi
 * esmi has unstable APIs as for now
 .
 [1]: https://github.com/amd/esmi_ib_library

Files: debian/esmi_ib_library-4.3/include/asm/amd_hsmp.h
Copyright: 2021-2024, Advanced Micro Devices, Inc.
License: GPL-2 with Linux Syscall Note Exception
Comment: HSMP (Host System Management Port) is a part of kernel module [2]
 providing user level access to the system management unit (SMU) implemented in
 the firmware.
 .
 This file is used in esmi to provide defined types.
 .
 [2]: https://github.com/amd/amd_hsmp

License: Expat
 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.

License: NCSA
 The University of Illinois/NCSA Open Source License
 .
 Permission is hereby granted, free of charge, to any person obtaining a copy of
 this software and associated documentation files (the "Software"), to deal with
 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:
 .
 * Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimers.
 * Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimers in the documentation
   and/or other materials provided with the distribution.
 * Neither the names of <Name of Development Group, Name of Institution>,
   nor the names of its contributors may be used to endorse or promote products
   derived from this Software without specific prior written permission.
 .
 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
 CONTRIBUTORS 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 WITH THE
 SOFTWARE.

License: GPL-2 with Linux Syscall Note Exception
 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, version 2 of the License.
 .
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this program. If not, see <http://www.gnu.org/licenses/>.
 .
 The complete text of the GNU General Public License
 can be found in /usr/share/common-licenses/GPL-2 file.
 .
 .
 Additionally, the following exception is granted:
 NOTE! This copyright does *not* cover user programs that use kernel services
 by normal system calls - this is merely considered normal use of the kernel,
 and does *not* fall under the heading of "derived work". Also note that the
 GPL below is copyrighted by the Free Software Foundation, but the instance of
 code that it refers to (the Linux kernel) is copyrighted by me and others who
 actually wrote it.
 .
 Also note that the only valid version of the GPL as far as the kernel is
 concerned is _this_ particular version of the license (ie v2, not v2.2 or v3.x
 or whatever), unless explicitly otherwise stated.
 .
Comment: See https://spdx.org/licenses/Linux-syscall-note.html
