Skip to contentSkip to conversation

Reduce code delta with copyright notice

PATCH In review Stylon Wang 2 participants 5 messages Oct 20, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Reduce code delta with copyright notice

Many of the DC files have either incomplete or incorrect copyright notice. This patchset aims to address this and also make lives less difficult for those doing backport/upstream activities.

Stylon Wang (3):
drm/amd/display: Add missing copyright notice in DMUB drm/amd/display: Fix copyright notice in DML2 code drm/amd/display: Fix copyright notice in DC code

 .../drm/amd/display/dc/dcn303/dcn303_dccg.h   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.c   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.h   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.c   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.h   | 18 ++++++++++++++++++
 drivers/gpu/drm/amd/display/dc/dcn31/Makefile |  2 +-
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dwb.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.c   |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.h   |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.c  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.h |  2 ++
 drivers/gpu/drm/amd/display/dc/dml2/Makefile  |  4 +++-
 .../gpu/drm/amd/display/dc/dml2/cmntypes.h    |  2 ++
 .../amd/display/dc/dml2/display_mode_core.c   |  2 ++
 .../dc/dml2/display_mode_core_structs.h       |  2 ++
 .../dc/dml2/display_mode_lib_defines.h        |  2 ++
 .../amd/display/dc/dml2/display_mode_util.c   |  2 ++
 .../amd/display/dc/dml2/display_mode_util.h   |  2 ++
 .../display/dc/dml2/dml2_dc_resource_mgmt.c   |  2 ++
 .../display/dc/dml2/dml2_dc_resource_mgmt.h   |  2 ++
 .../drm/amd/display/dc/dml2/dml2_dc_types.h   |  2 ++
 .../amd/display/dc/dml2/dml2_internal_types.h |  2 ++
 .../amd/display/dc/dml2/dml2_mall_phantom.c   |  2 ++
 .../amd/display/dc/dml2/dml2_mall_phantom.h   |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml2_policy.c |  2 ++
 .../display/dc/dml2/dml2_translation_helper.c |  2 ++
 .../display/dc/dml2/dml2_translation_helper.h |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml2_utils.c  |  2 ++
 .../drm/amd/display/dc/dml2/dml2_wrapper.c    |  2 ++
 .../drm/amd/display/dc/dml2/dml2_wrapper.h    |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml_assert.h  |  2 ++
 .../drm/amd/display/dc/dml2/dml_depedencies.h |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml_logging.h |  2 ++
 drivers/gpu/drm/amd/display/dc/hdcp/Makefile  |  2 +-
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.c | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.h | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   |  2 ++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.h   |  2 ++
 .../dc/irq/dcn201/irq_service_dcn201.c        |  2 +-
 .../dc/irq/dcn303/irq_service_dcn303.c        | 19 +++++++++++++++++++
 .../dc/irq/dcn303/irq_service_dcn303.h        | 19 +++++++++++++++++++
 .../drm/amd/display/dmub/src/dmub_dcn303.c    | 19 +++++++++++++++++++
 .../drm/amd/display/dmub/src/dmub_dcn303.h    | 19 +++++++++++++++++++
 59 files changed, 298 insertions(+), 4 deletions(-)
Signature · 1 line
2.42.0
#1 lore raw

PATCH 1/3 drm/amd/display: Add missing copyright notice in DMUB

[Why & How]
Add missing/incomplete copyright notice in DMUB files

---
 .../drm/amd/display/dmub/src/dmub_dcn303.c    | 19 +++++++++++++++++++
 .../drm/amd/display/dmub/src/dmub_dcn303.h    | 19 +++++++++++++++++++
 2 files changed, 38 insertions(+)
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn303.c +19 -0
index b42369984473..878700160fa9 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #include "../dmub_srv.h"
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn303.h +19 -0
index 84141d450256..abe087251cc1 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #ifndef _DMUB_DCN303_H_
Signature · 1 line
2.42.0
#2 lore raw

PATCH 2/3 drm/amd/display: Fix copyright notice in DML2 code

In reply to Stylon Wang

[Why & How]
Fix incomplete copyright notice in DML2 code.

---
 drivers/gpu/drm/amd/display/dc/dml2/Makefile                  | 4 +++-
 drivers/gpu/drm/amd/display/dc/dml2/cmntypes.h                | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c       | 2 ++
 .../gpu/drm/amd/display/dc/dml2/display_mode_core_structs.h   | 2 ++
 .../gpu/drm/amd/display/dc/dml2/display_mode_lib_defines.h    | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c       | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.h       | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c   | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.h   | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_types.h           | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_internal_types.h     | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.c       | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.h       | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c             | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.h | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c              | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c            | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h            | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml_assert.h              | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml_depedencies.h         | 2 ++
 drivers/gpu/drm/amd/display/dc/dml2/dml_logging.h             | 2 ++
 22 files changed, 45 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dml2/Makefile +3 -1
index f35ed8de260d..d9137675d8b4 100644
@@ -20,7 +20,9 @@
 # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 # OTHER DEALINGS IN THE SOFTWARE.
 #
-# makefile for dml2
+# Authors: AMD
+#
+# Makefile for dml2.
 
 ifdef CONFIG_X86
 dml2_ccflags-$(CONFIG_CC_IS_GCC) := -mhard-float
drivers/gpu/drm/amd/display/dc/dml2/cmntypes.h +2 -0
index 5450aa5295f7..e450445bc05d 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __CMNTYPES_H__
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c +2 -0
index cff53d28d3c5..4f906fcd83d0 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "display_mode_core.h"
drivers/gpu/drm/amd/display/dc/dml2/display_mode_core_structs.h +2 -0
index c2fa28ff57ab..b274bfb4225f 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DISPLAY_MODE_CORE_STRUCT_H__
drivers/gpu/drm/amd/display/dc/dml2/display_mode_lib_defines.h +2 -0
index 99bdb2ddd8ab..de63364be01d 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DISPLAY_MODE_LIB_DEFINES_H__
drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c +2 -0
index 7dd1f8a12582..c247aee89caf 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "display_mode_util.h"
drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.h +2 -0
index fb74385e1060..113b0265e1d1 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DISPLAY_MODE_UTIL_H__
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c +2 -0
index f45fbe820445..393ecad64636 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dml2_mall_phantom.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.h +2 -0
index a78de194793d..2f91244a7b01 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DML2_DC_RESOURCE_MGMT_H__
drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_types.h +2 -0
index 191b2e63ce6e..e85866db80ff 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 
drivers/gpu/drm/amd/display/dc/dml2/dml2_internal_types.h +2 -0
index bcb59bcd9179..ed5b767d46e0 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
  
 #ifndef __DML2_INTERNAL_TYPES_H__
drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.c +2 -0
index 02797cb2667e..32f8a43af3d6 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dml2_dc_types.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.h +2 -0
index c14b4de29d73..9d64851f54e7 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DML2_MALL_PHANTOM_H__
drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c +2 -0
index f8e9aa32ceab..c4c52173ef22 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dml2_policy.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c +2 -0
index e5ccd2887c94..331f6bd97d38 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "display_mode_core.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.h +2 -0
index 1bcfca51e665..dac6d27b14cd 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DML2_TRANSLATION_HELPER_H__
drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c +2 -0
index ac6bf776bad0..69fd96f4f3b0 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 //#include "dml2_utils.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c +2 -0
index 9a5e145168bc..0a06bf3b135a 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "display_mode_core.h"
drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h +2 -0
index f3b85b0891d3..252442ea9d3d 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef _DML2_WRAPPER_H_
drivers/gpu/drm/amd/display/dc/dml2/dml_assert.h +2 -0
index b5e463aa61af..17f0972b1af7 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DML_ASSERT_H__
drivers/gpu/drm/amd/display/dc/dml2/dml_depedencies.h +2 -0
index d8c7f7497e9c..f7d30b47beff 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 /* This header intentinally does not include an #ifdef guard as it only contains includes for other headers*/
drivers/gpu/drm/amd/display/dc/dml2/dml_logging.h +2 -0
index 890c0a072012..2a2f84e07ca8 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 #ifndef __DML_LOGGING_H__
 #define __DML_LOGGING_H__
Signature · 1 line
2.42.0
#3 lore raw

PATCH 3/3 drm/amd/display: Fix copyright notice in DC code

In reply to Stylon Wang

[Why & How]
Fix incomplete copyright notice in DC code.

---
 .../drm/amd/display/dc/dcn303/dcn303_dccg.h   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.c   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.h   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.c   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.h   | 18 ++++++++++++++++++
 drivers/gpu/drm/amd/display/dc/dcn31/Makefile |  2 +-
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dwb.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.c   |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.h   |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.c  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.h |  2 ++
 drivers/gpu/drm/amd/display/dc/hdcp/Makefile  |  2 +-
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.c | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.h | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   |  2 ++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.h   |  2 ++
 .../dc/irq/dcn201/irq_service_dcn201.c        |  2 +-
 .../dc/irq/dcn303/irq_service_dcn303.c        | 19 +++++++++++++++++++
 .../dc/irq/dcn303/irq_service_dcn303.h        | 19 +++++++++++++++++++
 35 files changed, 215 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_dccg.h +18 -0
index 294bd757bcb5..2e12fb643005 100644
@@ -2,6 +2,24 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
  */
 
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.c +18 -0
index 39cf7a50bd26..edb4d68b8187 100644
@@ -2,6 +2,24 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
  */
 
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_init.h +18 -0
index 66b1e3604f07..4949981126d7 100644
@@ -2,6 +2,24 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
  */
 
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c +18 -0
index 0d91291a54a9..d7fc46db83de 100644
@@ -2,6 +2,24 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
  */
 
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.h +18 -0
index 9c7d79540900..37cf1525820b 100644
@@ -2,6 +2,24 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
  */
 
drivers/gpu/drm/amd/display/dc/dcn31/Makefile +1 -1
index 996d8c1e9d2a..96e45c9efb46 100644
@@ -1,5 +1,5 @@
 #
-# (c) Copyright 2020 Advanced Micro Devices, Inc. All the rights reserved
+# Copyright 2020 Advanced Micro Devices, Inc. All the rights reserved
 #
 #  All rights reserved.  This notice is intended as a precaution against
 #  inadvertent publication and does not imply publication or any waiver
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c +2 -0
index 84a9afb7098a..3341ef71009b 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "core_types.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dpp.h +2 -0
index 17f5344994f0..09b84307cd9e 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DCN35_DPP_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dsc.c +2 -0
index d7915c96bcd1..71d2dff9986d 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dcn35_dsc.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dsc.h +2 -0
index c19c2e022f12..133ad38842cc 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DCN35_DSC_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dwb.h +2 -0
index 877f93c8168e..886e727ed080 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DCN35_DWB_H
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hubbub.c +2 -0
index f8e63bd541bc..339bf0c722dd 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hubbub.h +2 -0
index d57ed580305e..54cf00ffceb8 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DC_HUBBUB_DCN35_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hubp.c +2 -0
index 2ae7b151b56c..1ed58660779e 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dcn35_hubp.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_hubp.h +2 -0
index a8879c3db447..3d830f93141e 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DC_HUBP_DCN35_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.c +2 -0
index 534223dbe595..296bf3a38cb9 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dce110/dce110_hwseq.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_init.h +2 -0
index ccfc28225cff..b67015032c35 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DC_DCN35_INIT_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_mmhubbub.c +2 -0
index ea1042cdc88d..4317100564a4 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dcn35_mmhubbub.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_mmhubbub.h +2 -0
index e7b5b6703e73..098e13e07272 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DCN35_MMHUBBUB_H
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_opp.c +2 -0
index d79e8c6365c1..3542b51c9aac 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dcn35_opp.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_opp.h +2 -0
index 9dd21b104287..a9a413527801 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DCN35_OPP_H
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.c +2 -0
index b0c068240a94..a4a39f1638cf 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dcn35_optc.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_optc.h +2 -0
index 7e7a5f4b85b0..1f422e4c468f 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DC_OPTC_DCN35_H__
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.c +2 -0
index e62a192c595e..0f60c40e1fc5 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "reg_helper.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_pg_cntl.h +2 -0
index d073ce5cc6f3..3de240884d22 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef _DCN35_PG_CNTL_H_
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.c +2 -0
index 99d55b958977..3edc57acab78 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dm_services.h"
drivers/gpu/drm/amd/display/dc/dcn35/dcn35_resource.h +2 -0
index 5ec70d46a38f..99aea102e3f7 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef _DCN35_RESOURCE_H_
drivers/gpu/drm/amd/display/dc/hdcp/Makefile +1 -1
index 4170b6eb9ec0..c1c47a6cefe1 100644
@@ -1,4 +1,4 @@
-# Copyright 2019 Advanced Micro Devices, Inc.
+# Copyright 2022 Advanced Micro Devices, Inc.
 #
 # Permission is hereby granted, free of charge, to any person obtaining a
 # copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/display/dc/hwss/dcn303/dcn303_hwseq.c +19 -0
index b48b732aa647..3bc56ac346f3 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #include "dcn303_hwseq.h"
drivers/gpu/drm/amd/display/dc/hwss/dcn303/dcn303_hwseq.h +19 -0
index 8b69a3b76c11..7fdfc4175f80 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #ifndef __DC_HWSS_DCN303_H__
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c +2 -0
index 0e218f9e2a86..d3429134b2e3 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #include "dm_services.h"
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.h +2 -0
index 14bbdb0fa634..0dff10d179b8 100644
@@ -20,6 +20,8 @@
  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
  * OTHER DEALINGS IN THE SOFTWARE.
  *
+ * Authors: AMD
+ *
  */
 
 #ifndef __DC_HWSS_DCN35_H__
drivers/gpu/drm/amd/display/dc/irq/dcn201/irq_service_dcn201.c +1 -1
index 5171d04519ee..4fb9cd6708d5 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright 2018 Advanced Micro Devices, Inc.
+ * Copyright 2022 Advanced Micro Devices, Inc.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
drivers/gpu/drm/amd/display/dc/irq/dcn303/irq_service_dcn303.c +19 -0
index e09ca4594ec3..262bb8b74b15 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #include "dm_services.h"
drivers/gpu/drm/amd/display/dc/irq/dcn303/irq_service_dcn303.h +19 -0
index fd64e3848ff3..be8fe836b3f1 100644
@@ -2,7 +2,26 @@
 /*
  * Copyright (C) 2021 Advanced Micro Devices, Inc.
  *
+ * 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 COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
+ *
  * Authors: AMD
+ *
  */
 
 #ifndef __DAL_IRQ_SERVICE_DCN303_H__
Signature · 1 line
2.42.0
maintainer Reviewed-by on the v1 series
#4 lore raw
In reply to Stylon Wang
Quoted 4 lines · Stylon Wang

Many of the DC files have either incomplete or incorrect copyright notice. This patchset aims to address this and also make lives less difficult for those doing backport/upstream activities.

Series is

Harry

Quoted 66 lines

Stylon Wang (3):
drm/amd/display: Add missing copyright notice in DMUB drm/amd/display: Fix copyright notice in DML2 code drm/amd/display: Fix copyright notice in DC code

 .../drm/amd/display/dc/dcn303/dcn303_dccg.h   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.c   | 18 ++++++++++++++++++
 .../drm/amd/display/dc/dcn303/dcn303_init.h   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.c   | 18 ++++++++++++++++++
 .../amd/display/dc/dcn303/dcn303_resource.h   | 18 ++++++++++++++++++
 drivers/gpu/drm/amd/display/dc/dcn31/Makefile |  2 +-
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dpp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dsc.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_dwb.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.c   |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_hubbub.h   |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_hubp.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_init.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_mmhubbub.h |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.c  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_opp.h  |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.c |  2 ++
 .../gpu/drm/amd/display/dc/dcn35/dcn35_optc.h |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.c  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_pg_cntl.h  |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.c |  2 ++
 .../drm/amd/display/dc/dcn35/dcn35_resource.h |  2 ++
 drivers/gpu/drm/amd/display/dc/dml2/Makefile  |  4 +++-
 .../gpu/drm/amd/display/dc/dml2/cmntypes.h    |  2 ++
 .../amd/display/dc/dml2/display_mode_core.c   |  2 ++
 .../dc/dml2/display_mode_core_structs.h       |  2 ++
 .../dc/dml2/display_mode_lib_defines.h        |  2 ++
 .../amd/display/dc/dml2/display_mode_util.c   |  2 ++
 .../amd/display/dc/dml2/display_mode_util.h   |  2 ++
 .../display/dc/dml2/dml2_dc_resource_mgmt.c   |  2 ++
 .../display/dc/dml2/dml2_dc_resource_mgmt.h   |  2 ++
 .../drm/amd/display/dc/dml2/dml2_dc_types.h   |  2 ++
 .../amd/display/dc/dml2/dml2_internal_types.h |  2 ++
 .../amd/display/dc/dml2/dml2_mall_phantom.c   |  2 ++
 .../amd/display/dc/dml2/dml2_mall_phantom.h   |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml2_policy.c |  2 ++
 .../display/dc/dml2/dml2_translation_helper.c |  2 ++
 .../display/dc/dml2/dml2_translation_helper.h |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml2_utils.c  |  2 ++
 .../drm/amd/display/dc/dml2/dml2_wrapper.c    |  2 ++
 .../drm/amd/display/dc/dml2/dml2_wrapper.h    |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml_assert.h  |  2 ++
 .../drm/amd/display/dc/dml2/dml_depedencies.h |  2 ++
 .../gpu/drm/amd/display/dc/dml2/dml_logging.h |  2 ++
 drivers/gpu/drm/amd/display/dc/hdcp/Makefile  |  2 +-
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.c | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn303/dcn303_hwseq.h | 19 +++++++++++++++++++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.c   |  2 ++
 .../amd/display/dc/hwss/dcn35/dcn35_hwseq.h   |  2 ++
 .../dc/irq/dcn201/irq_service_dcn201.c        |  2 +-
 .../dc/irq/dcn303/irq_service_dcn303.c        | 19 +++++++++++++++++++
 .../dc/irq/dcn303/irq_service_dcn303.h        | 19 +++++++++++++++++++
 .../drm/amd/display/dmub/src/dmub_dcn303.c    | 19 +++++++++++++++++++
 .../drm/amd/display/dmub/src/dmub_dcn303.h    | 19 +++++++++++++++++++
 59 files changed, 298 insertions(+), 4 deletions(-)