Skip to contentSkip to conversation

drm/amdgpu: fix SPDX headers on amdgpu_cper.c/h

PATCH In review Alex Deucher 2 participants 5 messages Oct 22, 2025

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/4 drm/amdgpu: fix SPDX headers on amdgpu_cper.c/h

These should be MIT. The driver in general is MIT and the license text at the top of the files is MIT so fix it.

Fixes 92d5d2a09de1 ("drm/amdgpu: Introduce funcs for populating CPER")
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c +1 -1
index ef996493115fa..425a3e5643608 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: MIT
 /*
  * Copyright 2025 Advanced Micro Devices, Inc.
  *
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h +1 -1
index bcb97d245673b..353421807387e 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 /*
  * Copyright 2025 Advanced Micro Devices, Inc.
  *
Signature · 1 line
2.51.0
author maintainer
#1 lore raw

PATCH 2/4 drm/amdgpu: fix SPDX header on amd_cper.h

This should be MIT. The driver in general is MIT and the license text at the top of the file is MIT so fix it.

Fixes 523b69c65445 ("drm/amd/include: Add amd cper header")
---
 drivers/gpu/drm/amd/include/amd_cper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/amd_cper.h +1 -1
index 086869264425c..a252ee4c7874c 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 /*
  * Copyright 2025 Advanced Micro Devices, Inc.
  *
Signature · 1 line
2.51.0
author maintainer
#2 lore raw

PATCH 3/4 drm/amdgpu: fix SPDX header on irqsrcs_vcn_5_0.h

In reply to Alex Deucher

This should be MIT. The driver in general is MIT and the license text at the top of the file is MIT so fix it.

Fixes d1bb64651095 ("drm/amdgpu: add irq source ids for VCN5_0/JPEG5_0")
---
 drivers/gpu/drm/amd/include/ivsrcid/vcn/irqsrcs_vcn_5_0.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/include/ivsrcid/vcn/irqsrcs_vcn_5_0.h +1 -1
index 64b553e7de1ae..e7fdcee22a714 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
 
 /*
  * Copyright 2024 Advanced Micro Devices, Inc. All rights reserved.
Signature · 1 line
2.51.0
author maintainer
#3 lore raw

PATCH 4/4 drm/amdgpu: fix SPDX header on cyan_skillfish_reg_init.c

In reply to Alex Deucher

This should be MIT. The driver in general is MIT and the license text at the top of the file is MIT so fix it.

Fixes e8529dbc75ca ("drm/amdgpu: add ip offset support for cyan skillfish")
---
 drivers/gpu/drm/amd/amdgpu/cyan_skillfish_reg_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/cyan_skillfish_reg_init.c +1 -1
index 96616a865aac7..ed1e25661706e 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: MIT
 /*
  * Copyright 2018 Advanced Micro Devices, Inc.
  *
Signature · 1 line
2.51.0
#4 lore raw
In reply to Alex Deucher
Quoted 7 lines · Alex Deucher

These should be MIT. The driver in general is MIT and the license text at the top of the files is MIT so fix it.

Fixes 92d5d2a09de1 ("drm/amdgpu: Introduce funcs for populating CPER")

Series is Reviewed-by: Mario Limonciello <[email protected]>

Quoted 25 lines
---
  drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c | 2 +-
  drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.c +1 -1
index ef996493115fa..425a3e5643608 100644
@@ -1,4 +1,4 @@
-// SPDX-License-Identifier: GPL-2.0
+// SPDX-License-Identifier: MIT
  /*
   * Copyright 2025 Advanced Micro Devices, Inc.
   *
drivers/gpu/drm/amd/amdgpu/amdgpu_cper.h +1 -1
index bcb97d245673b..353421807387e 100644
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: MIT */
  /*
   * Copyright 2025 Advanced Micro Devices, Inc.
   *