Skip to contentSkip to conversation

drm/amdgpu: add missing license to some files

PATCH In review Alex Deucher 3 participants 3 messages Nov 21, 2022 – Nov 22, 2022

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu: add missing license to some files

The driver is MIT, so add the licenses.

---
 .../gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h | 1 +
 .../gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h | 1 +
 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h      | 1 +
 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h     | 1 +
 drivers/gpu/drm/amd/include/yellow_carp_offset.h                 | 1 +
 5 files changed, 5 insertions(+)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h +1 -0
index 8ea8ee57b39f..61bb1d86182e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 // This is a stripped-down version of the smu11_driver_if.h file for the relevant DAL interfaces.
 
 #define SMU11_DRIVER_IF_VERSION 0x40
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h +1 -0
index d30fbbdd1792..d3d5a8caccf8 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 // This is a stripped-down version of the smu13_driver_if.h file for the relevant DAL interfaces.
 
 #define SMU13_DRIVER_IF_VERSION  0x18
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h +1 -0
index 483769fb1736..537aee0536d3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef _dcn_3_0_0_OFFSET_HEADER
 #define _dcn_3_0_0_OFFSET_HEADER
 
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h +1 -0
index b79be3a25a80..f9d90b098519 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef _dcn_3_0_0_SH_MASK_HEADER
 #define _dcn_3_0_0_SH_MASK_HEADER
 
drivers/gpu/drm/amd/include/yellow_carp_offset.h +1 -0
index 28a56b56bcaf..0fea6a746611 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef YELLOW_CARP_OFFSET_H
 #define YELLOW_CARP_OFFSET_H
 
Signature · 1 line
2.38.1
Acked-by on v1 1/1
#1 lore raw

Regards,
Luben

Quoted 57 lines · Alex Deucher

The driver is MIT, so add the licenses.

---
 .../gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h | 1 +
 .../gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h | 1 +
 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h      | 1 +
 drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h     | 1 +
 drivers/gpu/drm/amd/include/yellow_carp_offset.h                 | 1 +
 5 files changed, 5 insertions(+)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h +1 -0
index 8ea8ee57b39f..61bb1d86182e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 // This is a stripped-down version of the smu11_driver_if.h file for the relevant DAL interfaces.
 
 #define SMU11_DRIVER_IF_VERSION 0x40
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h +1 -0
index d30fbbdd1792..d3d5a8caccf8 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 // This is a stripped-down version of the smu13_driver_if.h file for the relevant DAL interfaces.
 
 #define SMU13_DRIVER_IF_VERSION  0x18
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h +1 -0
index 483769fb1736..537aee0536d3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef _dcn_3_0_0_OFFSET_HEADER
 #define _dcn_3_0_0_OFFSET_HEADER
 
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h +1 -0
index b79be3a25a80..f9d90b098519 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef _dcn_3_0_0_SH_MASK_HEADER
 #define _dcn_3_0_0_SH_MASK_HEADER
 
drivers/gpu/drm/amd/include/yellow_carp_offset.h +1 -0
index 28a56b56bcaf..0fea6a746611 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
 #ifndef YELLOW_CARP_OFFSET_H
 #define YELLOW_CARP_OFFSET_H
 
Reviewed-by on v1 1/1
#2 lore raw
In reply to Alex Deucher

Am 21.11.22 um 18:20 schrieb Alex Deucher:

Quoted 4 lines

The driver is MIT, so add the licenses.

Quoted 53 lines
---
  .../gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h | 1 +
  .../gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h | 1 +
  drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h      | 1 +
  drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h     | 1 +
  drivers/gpu/drm/amd/include/yellow_carp_offset.h                 | 1 +
  5 files changed, 5 insertions(+)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_smu11_driver_if.h +1 -0
index 8ea8ee57b39f..61bb1d86182e 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
  // This is a stripped-down version of the smu11_driver_if.h file for the relevant DAL interfaces.
 
  #define SMU11_DRIVER_IF_VERSION 0x40
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_smu13_driver_if.h +1 -0
index d30fbbdd1792..d3d5a8caccf8 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
  // This is a stripped-down version of the smu13_driver_if.h file for the relevant DAL interfaces.
 
  #define SMU13_DRIVER_IF_VERSION  0x18
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_offset.h +1 -0
index 483769fb1736..537aee0536d3 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
  #ifndef _dcn_3_0_0_OFFSET_HEADER
  #define _dcn_3_0_0_OFFSET_HEADER
 
drivers/gpu/drm/amd/include/asic_reg/dcn/dcn_3_0_0_sh_mask.h +1 -0
index b79be3a25a80..f9d90b098519 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
  #ifndef _dcn_3_0_0_SH_MASK_HEADER
  #define _dcn_3_0_0_SH_MASK_HEADER
 
drivers/gpu/drm/amd/include/yellow_carp_offset.h +1 -0
index 28a56b56bcaf..0fea6a746611 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: MIT
  #ifndef YELLOW_CARP_OFFSET_H
  #define YELLOW_CARP_OFFSET_H