drm/amd/amdgpu: move dpcs headers to dpcs directory
Subsystems (3)
PATCH 1/1 drm/amd/amdgpu: move dpcs headers to dpcs directory
Move dpcs headers from asic_reg/dcn to asic_reg/dpcs.
Update various .c files to include new path.
Signed-off-by Tom St Denis <[email protected]>
---
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 4 ++--
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c | 4 ++--
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c | 4 ++--
.../gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.c | 4 ++--
drivers/gpu/drm/amd/display/dc/irq/dcn30/irq_service_dcn30.c | 4 ++--
.../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_offset.h | 0
.../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_sh_mask.h | 0
.../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_offset.h | 0
.../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_sh_mask.h | 0
12 files changed, 16 insertions(+), 16 deletions(-)
rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_offset.h (100%)
rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_sh_mask.h (100%)
rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_offset.h (100%)
rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_sh_mask.h (100%)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c +2 -2
@@ -42,8 +42,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h"
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +2 -2
@@ -72,8 +72,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h"
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c +2 -2
@@ -73,8 +73,8 @@#include "nbio/nbio_7_2_0_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "reg_helper.h" #include "dce/dmub_abm.h"
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +2 -2
@@ -64,8 +64,8 @@#include "dimgrey_cavefish_ip_offset.h" #include "dcn/dcn_3_0_2_offset.h" #include "dcn/dcn_3_0_2_sh_mask.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "nbio/nbio_7_4_offset.h" #include "amdgpu_socbb.h"
drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c +2 -2
@@ -48,8 +48,8 @@#include "sienna_cichlid_ip_offset.h" #include "dcn/dcn_3_0_3_offset.h" #include "dcn/dcn_3_0_3_sh_mask.h" -#include "dcn/dpcs_3_0_3_offset.h" -#include "dcn/dpcs_3_0_3_sh_mask.h" +#include "dpcs/dpcs_3_0_3_offset.h" +#include "dpcs/dpcs_3_0_3_sh_mask.h" #include "nbio/nbio_2_3_offset.h" #define DC_LOGGER_INIT (logger)
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c +2 -2
@@ -42,8 +42,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h"
drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.c +2 -2
@@ -40,8 +40,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h"
drivers/gpu/drm/amd/display/dc/irq/dcn30/irq_service_dcn30.c +2 -2
@@ -37,8 +37,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h"
drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_0_offset.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_0_offset.h +0 -0
drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_0_sh_mask.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_0_sh_mask.h +0 -0
drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_3_offset.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_3_offset.h +0 -0
drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_3_sh_mask.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_3_sh_mask.h +0 -0
Signature · 1 line
2.31.1
Quoted 5 lines · Tom St Denis
Move dpcs headers from asic_reg/dcn to asic_reg/dpcs.
Update various .c files to include new path.
Signed-off-by Tom St Denis <[email protected]>
Acked-by Harry Wentland <[email protected]>
Harry
Quoted 156 lines
--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c | 4 ++-- drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c | 4 ++-- .../gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.c | 4 ++-- drivers/gpu/drm/amd/display/dc/irq/dcn30/irq_service_dcn30.c | 4 ++-- .../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_offset.h | 0 .../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_sh_mask.h | 0 .../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_offset.h | 0 .../amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_sh_mask.h | 0 12 files changed, 16 insertions(+), 16 deletions(-) rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_offset.h (100%) rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_0_sh_mask.h (100%) rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_offset.h (100%) rename drivers/gpu/drm/amd/include/asic_reg/{dcn => dpcs}/dpcs_3_0_3_sh_mask.h (100%)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/dcn30_clk_mgr.c +2
-2@@ -42,8 +42,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h" drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +2
-2@@ -72,8 +72,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h" drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c +2
-2@@ -73,8 +73,8 @@#include "nbio/nbio_7_2_0_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "reg_helper.h" #include "dce/dmub_abm.h" drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +2
-2@@ -64,8 +64,8 @@#include "dimgrey_cavefish_ip_offset.h" #include "dcn/dcn_3_0_2_offset.h" #include "dcn/dcn_3_0_2_sh_mask.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "nbio/nbio_7_4_offset.h" #include "amdgpu_socbb.h" drivers/gpu/drm/amd/display/dc/dcn303/dcn303_resource.c +2
-2@@ -48,8 +48,8 @@#include "sienna_cichlid_ip_offset.h" #include "dcn/dcn_3_0_3_offset.h" #include "dcn/dcn_3_0_3_sh_mask.h" -#include "dcn/dpcs_3_0_3_offset.h" -#include "dcn/dpcs_3_0_3_sh_mask.h" +#include "dpcs/dpcs_3_0_3_offset.h" +#include "dpcs/dpcs_3_0_3_sh_mask.h" #include "nbio/nbio_2_3_offset.h" #define DC_LOGGER_INIT (logger)drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_factory_dcn30.c +2
-2@@ -42,8 +42,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h" drivers/gpu/drm/amd/display/dc/gpio/dcn30/hw_translate_dcn30.c +2
-2@@ -40,8 +40,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h" drivers/gpu/drm/amd/display/dc/irq/dcn30/irq_service_dcn30.c +2
-2@@ -37,8 +37,8 @@#include "nbio/nbio_7_4_offset.h" -#include "dcn/dpcs_3_0_0_offset.h" -#include "dcn/dpcs_3_0_0_sh_mask.h" +#include "dpcs/dpcs_3_0_0_offset.h" +#include "dpcs/dpcs_3_0_0_sh_mask.h" #include "mmhub/mmhub_2_0_0_offset.h" #include "mmhub/mmhub_2_0_0_sh_mask.h" drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_0_offset.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_0_offset.h +0
-0drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_0_sh_mask.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_0_sh_mask.h +0
-0drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_3_offset.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_3_offset.h +0
-0drivers/gpu/drm/amd/include/asic_reg/dpcs/dpcs_3_0_3_sh_mask.h renamed from drivers/gpu/drm/amd/include/asic_reg/dcn/dpcs_3_0_3_sh_mask.h +0
-0