]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Refactor DPP into a component directory
authorRevalla Hari Krishna <harikrishna.revalla@amd.com>
Thu, 15 Feb 2024 13:04:56 +0000 (18:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Mar 2024 17:37:37 +0000 (13:37 -0400)
[WHY & HOW]
Move all dpp files to a new dpp directory.

Reviewed-by: Martin Leung <martin.leung@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Revalla Hari Krishna <harikrishna.revalla@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
33 files changed:
drivers/gpu/drm/amd/display/Makefile
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/dcn10/Makefile
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c
drivers/gpu/drm/amd/display/dc/dcn20/Makefile
drivers/gpu/drm/amd/display/dc/dcn201/Makefile
drivers/gpu/drm/amd/display/dc/dcn30/Makefile
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_cm_common.c
drivers/gpu/drm/amd/display/dc/dcn32/Makefile
drivers/gpu/drm/amd/display/dc/dcn35/Makefile
drivers/gpu/drm/amd/display/dc/dpp/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c [moved from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp_cm.c [moved from drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn201/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn201/dcn201_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn201/dcn201_dpp.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn201/dcn201_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn201/dcn201_dpp.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn30/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp_cm.c [moved from drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn32/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn32/dcn32_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn32/dcn32_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn35/CMakeLists.txt [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.c [moved from drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c with 98% similarity]
drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.h [moved from drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dpp.h with 100% similarity]

index 92a5c5efcf9262f5934d2f6abdcea9983cda9cd0..9a5bcafbf730e3e94b6195cea941be75759d1033 100644 (file)
@@ -33,6 +33,7 @@ subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/hwss
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/resource
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dsc
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/optc
+subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dpp
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/inc
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/freesync
 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/modules/color
index 7991ae468f752c2e56d35d280795cb0e3758cde6..4e9fb1742877d4bb69cd15eb47f8e3270d412591 100644 (file)
@@ -22,7 +22,7 @@
 #
 # Makefile for Display Core (dc) component.
 
-DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc
+DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link virtual dsc resource optc dpp
 
 ifdef CONFIG_DRM_AMD_DC_FP
 
index ae6a131be71b6bb2676c7c13556c371af7bb4760..8dc7938c36d87a3db647766f964953d54ae750cb 100644 (file)
@@ -24,9 +24,9 @@
 
 DCN10 = dcn10_ipp.o \
                dcn10_hw_sequencer_debug.o \
-               dcn10_dpp.o dcn10_opp.o \
+               dcn10_opp.o \
                dcn10_hubp.o dcn10_mpc.o \
-               dcn10_dpp_dscl.o dcn10_dpp_cm.o dcn10_cm_common.o \
+               dcn10_cm_common.o \
                dcn10_hubbub.o dcn10_stream_encoder.o dcn10_link_encoder.o
 
 AMD_DAL_DCN10 = $(addprefix $(AMDDALPATH)/dc/dcn10/,$(DCN10))
index b0d192c6e63eb33f2c65ba000dc62e7aaaf0f052..0b49362f71b06c416d5fce1a347166bbc4a4f7a2 100644 (file)
@@ -24,7 +24,7 @@
  */
 #include "dc.h"
 #include "reg_helper.h"
-#include "dcn10_dpp.h"
+#include "dcn10/dcn10_dpp.h"
 
 #include "dcn10_cm_common.h"
 #include "custom_float.h"
index 3dae3943b056c44aaedaa9c90aae42d8f5ac781d..9b6070c99794382361ad4f617bfbcc055377cac9 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Makefile for DCN.
 
-DCN20 = dcn20_dpp.o dcn20_dpp_cm.o dcn20_hubp.o \
+DCN20 = dcn20_hubp.o \
                dcn20_mpc.o dcn20_opp.o dcn20_hubbub.o dcn20_mmhubbub.o \
                dcn20_stream_encoder.o dcn20_link_encoder.o dcn20_dccg.o \
                dcn20_vmid.o dcn20_dwb.o dcn20_dwb_scl.o
index 2b0b4f32e13bf84e74c572778c5dd4fd2564e853..3880db59e4576b59a4fd8f3d4adbfe8055f7672e 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Makefile for DCN.
 DCN201 = dcn201_hubbub.o\
-       dcn201_mpc.o dcn201_hubp.o dcn201_opp.o dcn201_dpp.o \
+       dcn201_mpc.o dcn201_hubp.o dcn201_opp.o \
        dcn201_dccg.o dcn201_link_encoder.o
 
 AMD_DAL_DCN201 = $(addprefix $(AMDDALPATH)/dc/dcn201/,$(DCN201))
index b5b2aa3b3783972a5b81263769f3c6c00e7c1144..c6ca70f3c0610b75051e702e1c5bb3fa8b1c4a40 100644 (file)
 
 DCN30 := dcn30_hubbub.o \
        dcn30_hubp.o \
-       dcn30_dpp.o \
        dcn30_dccg.o \
        dcn30_mpc.o dcn30_vpg.o \
        dcn30_afmt.o \
        dcn30_dio_stream_encoder.o \
        dcn30_dwb.o \
-       dcn30_dpp_cm.o \
        dcn30_dwb_cm.o \
        dcn30_cm_common.o \
        dcn30_mmhubbub.o \
index ddb344056d40137e3f5aa0b396d2e514adf46e0b..b8327237ed4418d79559dccabe5b209c392c4725 100644 (file)
@@ -26,7 +26,7 @@
 #include "dm_services.h"
 #include "core_types.h"
 #include "reg_helper.h"
-#include "dcn30_dpp.h"
+#include "dcn30/dcn30_dpp.h"
 #include "basics/conversion.h"
 #include "dcn30_cm_common.h"
 #include "custom_float.h"
index 5314770fff1c0608bcf75c056738e6b816929509..a58c37165f5a647f31393917abc76b080ffcecfc 100644 (file)
@@ -11,7 +11,7 @@
 # Makefile for dcn32.
 
 DCN32 = dcn32_hubbub.o dcn32_dccg.o \
-               dcn32_mmhubbub.o dcn32_dpp.o dcn32_hubp.o dcn32_mpc.o \
+               dcn32_mmhubbub.o dcn32_hubp.o dcn32_mpc.o \
                dcn32_dio_stream_encoder.o dcn32_dio_link_encoder.o dcn32_resource_helpers.o \
                dcn32_hpo_dp_link_encoder.o
 
index 0e317e0c36a083cb492fcbbf803ce2bba45a29bf..d5b4533d2f624942beac29800e37bf9aed071b04 100644 (file)
@@ -13,7 +13,7 @@
 DCN35 = dcn35_dio_stream_encoder.o \
        dcn35_dio_link_encoder.o dcn35_dccg.o \
        dcn35_hubp.o dcn35_hubbub.o \
-       dcn35_mmhubbub.o dcn35_opp.o dcn35_dpp.o dcn35_pg_cntl.o dcn35_dwb.o
+       dcn35_mmhubbub.o dcn35_opp.o dcn35_pg_cntl.o dcn35_dwb.o
 
 AMD_DAL_DCN35 = $(addprefix $(AMDDALPATH)/dc/dcn35/,$(DCN35))
 
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/Makefile b/drivers/gpu/drm/amd/display/dc/dpp/Makefile
new file mode 100644 (file)
index 0000000..99bd360
--- /dev/null
@@ -0,0 +1,77 @@
+
+# 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"),
+# 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.
+#
+# Makefile for the 'dpp' sub-component of DAL.
+#
+ifdef CONFIG_DRM_AMD_DC_FP
+###############################################################################
+# DCN
+###############################################################################
+
+DPP_DCN10 = dcn10_dpp.o dcn10_dpp_dscl.o dcn10_dpp_cm.o
+
+AMD_DAL_DPP_DCN10 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn10/,$(DPP_DCN10))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN10)
+
+###############################################################################
+
+DPP_DCN20 = dcn20_dpp.o dcn20_dpp_cm.o
+
+AMD_DAL_DPP_DCN20 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn20/,$(DPP_DCN20))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN20)
+
+###############################################################################
+
+DPP_DCN201 = dcn201_dpp.o
+
+AMD_DAL_DPP_DCN201 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn201/,$(DPP_DCN201))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN201)
+
+###############################################################################
+
+DPP_DCN30 = dcn30_dpp.o dcn30_dpp_cm.o
+
+AMD_DAL_DPP_DCN30 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn30/,$(DPP_DCN30))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN30)
+
+###############################################################################
+
+DPP_DCN32 = dcn32_dpp.o
+
+AMD_DAL_DPP_DCN32 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn32/,$(DPP_DCN32))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN32)
+
+###############################################################################
+
+DPP_DCN35 = dcn35_dpp.o
+
+AMD_DAL_DPP_DCN35 = $(addprefix $(AMDDALPATH)/dc/dpp/dcn35/,$(DPP_DCN35))
+
+AMD_DISPLAY_FILES += $(AMD_DAL_DPP_DCN35)
+
+###############################################################################
+
+endif
\ No newline at end of file
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn10/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1318c6f
--- /dev/null
@@ -0,0 +1,6 @@
+dal3_subdirectory_sources(
+  dcn10_dpp.c
+  dcn10_dpp_cm.c
+  dcn10_dpp_dscl.c
+  dcn10_dpp.h
+)
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp.c
index 4e391fd1d71caa4cbe6eab34544e5704bff038b7..e1da48b05d0094a103f6dfbefe7bf736a26fcfd4 100644 (file)
@@ -28,7 +28,7 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn10_dpp.h"
+#include "dcn10/dcn10_dpp.h"
 #include "basics/conversion.h"
 
 #define NUM_PHASES    64
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_cm.c
index 2f994a3a0b9cdb9c13590775abe8dd3a80cf161b..20481b1446094ad772dae755a9d16e9279911c73 100644 (file)
@@ -28,9 +28,9 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn10_dpp.h"
+#include "dcn10/dcn10_dpp.h"
 #include "basics/conversion.h"
-#include "dcn10_cm_common.h"
+#include "dcn10/dcn10_cm_common.h"
 
 #define NUM_PHASES    64
 #define HORZ_MAX_TAPS 8
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_dscl.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn10/dcn10_dpp_dscl.c
index 5ca9ab8a76e85cf1790642cfb2d622ab414688ca..808bca9fb80440b863e59af788bfbcf0f43dd921 100644 (file)
@@ -28,7 +28,7 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn10_dpp.h"
+#include "dcn10/dcn10_dpp.h"
 #include "basics/conversion.h"
 
 
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn20/CMakeLists.txt
new file mode 100644 (file)
index 0000000..9c2d709
--- /dev/null
@@ -0,0 +1,5 @@
+dal3_subdirectory_sources(
+  dcn20_dpp.c
+  dcn20_dpp_cm.c
+  dcn20_dpp.h
+)
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp.c
index 1516c0a4872663655e0ccd60aa543bc4bc97f78e..56ebd7164dd7b47db7fba155d8aeed5ff353d62a 100644 (file)
@@ -28,7 +28,7 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn20_dpp.h"
+#include "dcn20/dcn20_dpp.h"
 #include "basics/conversion.h"
 
 #define NUM_PHASES    64
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn20/dcn20_dpp_cm.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn20/dcn20_dpp_cm.c
index 58dc69926e8a81666300a6d51d47fcbf4d26e451..131a8de8e0f89c6e7130302115c55b7cfd7d382d 100644 (file)
@@ -28,7 +28,7 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn20_dpp.h"
+#include "dcn20/dcn20_dpp.h"
 #include "basics/conversion.h"
 
 #include "dcn10/dcn10_cm_common.h"
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn201/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn201/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7711cd3
--- /dev/null
@@ -0,0 +1,4 @@
+dal3_subdirectory_sources(
+    dcn201_dpp.c
+    dcn201_dpp.h
+)
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn201/dcn201_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn201/dcn201_dpp.c
index f809a7d21033320e9b0f47200d5d158e51218b3d..345202fee40fd8ed241ef33f0a65c761e879900b 100644 (file)
@@ -28,7 +28,7 @@
 #include "core_types.h"
 
 #include "reg_helper.h"
-#include "dcn201_dpp.h"
+#include "dcn201/dcn201_dpp.h"
 #include "basics/conversion.h"
 
 #define REG(reg)\
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn30/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn30/CMakeLists.txt
new file mode 100644 (file)
index 0000000..0faee2a
--- /dev/null
@@ -0,0 +1,5 @@
+dal3_subdirectory_sources(
+  dcn30_dpp.c
+  dcn30_dpp_cm.c
+  dcn30_dpp.h
+)
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp.c
index a3a769aad0420100ad0251c4f8f71e714e645b8b..0c31b12cacafb287acab0cf2f48b0c59136ff444 100644 (file)
@@ -26,9 +26,9 @@
 #include "dm_services.h"
 #include "core_types.h"
 #include "reg_helper.h"
-#include "dcn30_dpp.h"
+#include "dcn30/dcn30_dpp.h"
 #include "basics/conversion.h"
-#include "dcn30_cm_common.h"
+#include "dcn30/dcn30_cm_common.h"
 
 #define REG(reg)\
        dpp->tf_regs->reg
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn30/dcn30_dpp_cm.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn30/dcn30_dpp_cm.c
index 2f5b3fbd35075d11151d5dc4158cd40edc51bd9e..ce1b3cf7e1bbb56ce26165205af4adf60dec94d5 100644 (file)
@@ -26,9 +26,9 @@
 #include "dm_services.h"
 #include "core_types.h"
 #include "reg_helper.h"
-#include "dcn30_dpp.h"
+#include "dcn30/dcn30_dpp.h"
 #include "basics/conversion.h"
-#include "dcn30_cm_common.h"
+#include "dcn30/dcn30_cm_common.h"
 
 #define REG(reg)\
        dpp->tf_regs->reg
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn32/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn32/CMakeLists.txt
new file mode 100644 (file)
index 0000000..7743edc
--- /dev/null
@@ -0,0 +1,4 @@
+dal3_subdirectory_sources(
+  dcn32_dpp.c
+  dcn32_dpp.h
+)
similarity index 99%
rename from drivers/gpu/drm/amd/display/dc/dcn32/dcn32_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn32/dcn32_dpp.c
index 681e75c6dbaf4389bdbaf4373c8e560bae86da9b..41679997b44d5815aeb284d4695355c7efb5653e 100644 (file)
@@ -26,7 +26,7 @@
 #include "dm_services.h"
 #include "core_types.h"
 #include "reg_helper.h"
-#include "dcn32_dpp.h"
+#include "dcn32/dcn32_dpp.h"
 #include "basics/conversion.h"
 #include "dcn30/dcn30_cm_common.h"
 
diff --git a/drivers/gpu/drm/amd/display/dc/dpp/dcn35/CMakeLists.txt b/drivers/gpu/drm/amd/display/dc/dpp/dcn35/CMakeLists.txt
new file mode 100644 (file)
index 0000000..91df5db
--- /dev/null
@@ -0,0 +1,4 @@
+dal3_subdirectory_sources(
+  dcn35_dpp.c
+  dcn35_dpp.h
+)
similarity index 98%
rename from drivers/gpu/drm/amd/display/dc/dcn35/dcn35_dpp.c
rename to drivers/gpu/drm/amd/display/dc/dpp/dcn35/dcn35_dpp.c
index 3341ef71009b74730b7d955b6b13afd0de18f9ad..0146b36b93d76ae576487403b6603cdd305235ed 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 #include "core_types.h"
-#include "dcn35_dpp.h"
+#include "dcn35/dcn35_dpp.h"
 #include "reg_helper.h"
 
 #define REG(reg) dpp->tf_regs->reg