Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdkfd: update SPDX license header

Update the SPDX License header for all the KFD files.

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Rajneesh Bhardwaj and committed by
Alex Deucher
d87f36a0 a6c40b17

+92 -46
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2015-2017 Advanced Micro Devices, Inc. 3 + * Copyright 2015-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_crat.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2016-2017 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v10.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2018 Advanced Micro Devices, Inc. 3 + * Copyright 2018-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2016-2018 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_doorbell.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_events.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_events.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2016-2018 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_iommu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2018 Advanced Micro Devices, Inc. 3 + * Copyright 2018-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_iommu.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2018 Advanced Micro Devices, Inc. 3 + * Copyright 2018-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_module.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2018 Advanced Micro Devices, Inc. 3 + * Copyright 2018-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2016-2018 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_v9.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2016-2018 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_packet_manager_vi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pasid.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_ai.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2016 Advanced Micro Devices, Inc. 3 + * Copyright 2016-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_aldebaran.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2020 Advanced Micro Devices, Inc. 3 + * Copyright 2020-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_diq.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_headers_vi.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_pm4_opcodes.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_priv.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_process.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_queue.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2020 Advanced Micro Devices, Inc. 3 + * Copyright 2020-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2020 Advanced Micro Devices, Inc. 3 + * Copyright 2020-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_topology.c
··· 1 + // SPDX-License-Identifier: GPL-2.0 OR MIT 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),
+2 -1
drivers/gpu/drm/amd/amdkfd/kfd_topology.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 1 2 /* 2 - * Copyright 2014 Advanced Micro Devices, Inc. 3 + * Copyright 2014-2022 Advanced Micro Devices, Inc. 3 4 * 4 5 * Permission is hereby granted, free of charge, to any person obtaining a 5 6 * copy of this software and associated documentation files (the "Software"),