]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amd/display: Rename header file link.h to link_service.h
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Wed, 3 Sep 2025 01:47:39 +0000 (21:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 20:57:29 +0000 (16:57 -0400)
[WHY]
Header file name "link.h" collides with system header when dc is
compiled as a user-mode library

[WHAT]
Rename link.h to link_service.h to avoid name collision

Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
69 files changed:
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/dcn32_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_clk_mgr.c
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/dcn401_clk_mgr.c
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c
drivers/gpu/drm/amd/display/dc/dio/dcn10/dcn10_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn20/dcn20_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn314/dcn314_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn32/dcn32_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn35/dcn35_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dio/dcn401/dcn401_dio_stream_encoder.c
drivers/gpu/drm/amd/display/dc/dml/dcn20/dcn20_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn32/dcn32_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn35/dcn35_fpu.c
drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn10/dcn10_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn21/dcn21_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn30/dcn30_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn31/dcn31_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c
drivers/gpu/drm/amd/display/dc/inc/link_service.h [moved from drivers/gpu/drm/amd/display/dc/inc/link.h with 98% similarity]
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.h
drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_trace.h
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio_fixed_vs_pe_retimer.h
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_dp.h
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_hpo_fixed_vs_pe_retimer_dp.h
drivers/gpu/drm/amd/display/dc/link/link_detection.h
drivers/gpu/drm/amd/display/dc/link/link_dpms.h
drivers/gpu/drm/amd/display/dc/link/link_factory.h
drivers/gpu/drm/amd/display/dc/link/link_resource.h
drivers/gpu/drm/amd/display/dc/link/link_validation.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_ddc.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_irq_handler.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_phy.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_dpcd.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.h
drivers/gpu/drm/amd/display/dc/link/protocols/link_hpd.h
drivers/gpu/drm/amd/display/dc/resource/dce120/dce120_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c

index 82ea3fe5e764f3a71d259ee5cdf157be46e2de54..80704d709e44a1c0460554826af27ca0c6c78f72 100644 (file)
@@ -31,7 +31,7 @@
 #include "amdgpu_dm.h"
 #include "modules/power/power_helpers.h"
 #include "dmub/inc/dmub_cmd.h"
-#include "dc/inc/link.h"
+#include "dc/inc/link_service.h"
 
 /*
  * amdgpu_dm_link_supports_replay() - check if the link supports replay
index 4071851f9e86d55b0e3c4d4c5b7d62adc327afa9..15cf13ec53026f4ce01d4460adf6a2e2c190c907 100644 (file)
@@ -28,7 +28,7 @@
 #include "dccg.h"
 #include "clk_mgr_internal.h"
 #include "dc_state_priv.h"
-#include "link.h"
+#include "link_service.h"
 
 #include "dce100/dce_clk_mgr.h"
 #include "dce110/dce110_clk_mgr.h"
index bc123f1884da32a87ddbf2340513f377b57baffe..051052bd10c9635c13149717430de0aa56eaad43 100644 (file)
@@ -47,7 +47,7 @@
 #include "dcn30/dcn30_clk_mgr.h"
 
 #include "dc_dmub_srv.h"
-#include "link.h"
+#include "link_service.h"
 
 #include "logger_types.h"
 
index 91d872d6d392b1a253423c633afb08c3d8b74c23..790bbd8235b14453f89aae4e0d58a352b97a25e0 100644 (file)
@@ -48,7 +48,7 @@
 #include "dcn31/dcn31_clk_mgr.h"
 
 #include "dc_dmub_srv.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn314_smu.h"
 
 
index e4d22f74f9869166b61af7f57af8400608425774..b315ed91e010b8f0a9a8d1080f4555784a0403f7 100644 (file)
@@ -46,7 +46,7 @@
 #define DC_LOGGER \
        clk_mgr->base.base.ctx->logger
 
-#include "link.h"
+#include "link_service.h"
 
 #define TO_CLK_MGR_DCN315(clk_mgr)\
        container_of(clk_mgr, struct clk_mgr_dcn315, base)
index 49efea0c8fcffa09b698e1bf28589e6c8de677c8..1769b1f26e757549f92191edd6dcc9b80a820871 100644 (file)
@@ -39,7 +39,7 @@
 #include "dcn316_smu.h"
 #include "dm_helpers.h"
 #include "dc_dmub_srv.h"
-#include "link.h"
+#include "link_service.h"
 
 // DCN316 this is CLK1 instance
 #define MAX_INSTANCE                                        7
index 8376e2b0e73dd1c045a11eca4fbe24ed14033e78..7da7b41bd09256b6aecf5c086cf6b2b2e6a99de1 100644 (file)
@@ -33,7 +33,7 @@
 #include "reg_helper.h"
 #include "core_types.h"
 #include "dm_helpers.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 #include "atomfirmware.h"
 #include "dcn32_smu13_driver_if.h"
index bb1ac12a2b0955e7ea3bd095f3c6e008b1ccaa93..86edf11b8c5a84933fc88b7fe176f28a8b98f1de 100644 (file)
@@ -44,7 +44,7 @@
 #include "dcn31/dcn31_clk_mgr.h"
 
 #include "dc_dmub_srv.h"
-#include "link.h"
+#include "link_service.h"
 #include "logger_types.h"
 
 #undef DC_LOGGER
index 47ff4c965d767b04d8066f681d5444e13132e617..47461f249e83b6a03654641c698be92767b29581 100644 (file)
@@ -13,7 +13,7 @@
 #include "reg_helper.h"
 #include "core_types.h"
 #include "dm_helpers.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 #include "atomfirmware.h"
 
index 5963019d1e742537da096fb8b065ac2a0a3d1416..269206ebee6074bae3c917d6c2953356539fcddb 100644 (file)
@@ -60,7 +60,7 @@
 #include "link_encoder.h"
 #include "link_enc_cfg.h"
 
-#include "link.h"
+#include "link_service.h"
 #include "dm_helpers.h"
 #include "mem_input.h"
 
index 814f68d76257aba9a3a85c033024579807d24d68..a180f68f711c2dd2b981892af709fd93d53b2661 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "link_enc_cfg.h"
 #include "resource.h"
-#include "link.h"
+#include "link_service.h"
 
 #define DC_LOGGER dc->ctx->logger
 
index b7a5de4ecb61ef310803eed18b4e5c609f3fd994..9acd300197173f3c80fb847ec2e6f91d770d09f7 100644 (file)
@@ -33,8 +33,9 @@
  * dc.h with detail interface documentation, then add function implementation
  * in this file which calls link functions.
  */
-#include "link.h"
+#include "link_service.h"
 #include "dce/dce_i2c.h"
+
 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index)
 {
        if (link_index >= MAX_LINKS)
index d712548b1927d02634692a3bab8d128e074a03bf..89c805457ed89b811fb13dca5f7f7f7a88ff8756 100644 (file)
@@ -40,7 +40,7 @@
 #include "virtual/virtual_stream_encoder.h"
 #include "dpcd_defs.h"
 #include "link_enc_cfg.h"
-#include "link.h"
+#include "link_service.h"
 #include "clk_mgr.h"
 #include "dc_state_priv.h"
 #include "dc_stream_priv.h"
index 65b979617b0cf42d6cf76721d195859c43c83918..9e2a473a88521d6ba0051aba46b45e7d8fb74c46 100644 (file)
@@ -3,7 +3,7 @@
 // Copyright 2024 Advanced Micro Devices, Inc.
 
 #include "dc.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_dmub_srv.h"
 #include "dmub/dmub_srv.h"
 #include "core_types.h"
index 22e66b375a7fec00994742688c4e7d4713b9dbeb..d928b4dcf6b814a132afdfd130cdb154b6819208 100644 (file)
@@ -28,7 +28,7 @@
 #include "dcn10_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 #include "dcn30/dcn30_afmt.h"
 
index 0b47aeb60e7959545b9929bca645796aeeaae211..bec0b4aaeb2b98fd9d9b05cd1efe3caf21eb1e87 100644 (file)
@@ -29,7 +29,7 @@
 #include "dcn20_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 #define DC_LOGGER \
index 9a92f73d5b7feca1aeaf014ac02d03864bb56ea9..84cc2ddc52fe896f84519a94cb383b8d9bad344b 100644 (file)
@@ -37,7 +37,7 @@
 #include "link_enc_cfg.h"
 #include "dc_dmub_srv.h"
 #include "dal_asic_id.h"
-#include "link.h"
+#include "link_service.h"
 
 #define CTX \
        enc10->base.ctx
index ae81451a3a725ce1ce201c9b4f45b3bde3892971..3e85e9c3d2cb2578c3c3fa87c522560e3590c1e2 100644 (file)
@@ -30,7 +30,7 @@
 #include "dcn314_dio_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 #define DC_LOGGER \
index 1a9bb614c41e03b60cffde9c0f542c4f9c912f26..3523d1cdc1a3593ed4bd44d6917698989ab39906 100644 (file)
@@ -29,7 +29,7 @@
 #include "dcn32_dio_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 #define DC_LOGGER \
index 6f30b6cc3c761c0961d668125ade45e5b8ce3ab3..fd5d1dbf9dc6ca6f619ca4c623670c015e977d63 100644 (file)
@@ -29,7 +29,7 @@
 #include "dcn35_dio_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 #define DC_LOGGER \
index d5fa551dd3c96baabe871c49246611811445f4bc..99aab70ef3e114bb47e8348cdb52d9a2108c257e 100644 (file)
@@ -32,7 +32,7 @@
 #include "dcn401_dio_stream_encoder.h"
 #include "reg_helper.h"
 #include "hw_shared.h"
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 #define DC_LOGGER \
index 2a2eaf6adf26cbc74fbe0e3218c334dda8c4aee6..7aaf13bbd4e4c1d068051c7275e574f8f48c768d 100644 (file)
@@ -30,8 +30,7 @@
 #include "dcn20/dcn20_resource.h"
 #include "dcn21/dcn21_resource.h"
 #include "clk_mgr/dcn21/rn_clk_mgr.h"
-
-#include "link.h"
+#include "link_service.h"
 #include "dcn20_fpu.h"
 #include "dc_state_priv.h"
 
index 18388fb00be8cf6b0730e78e523221ab9f5ec6c1..8a0f128722b05d21f00975c6e64af0005c8b51f5 100644 (file)
@@ -31,7 +31,7 @@
 // We need this includes for WATERMARKS_* defines
 #include "clk_mgr/dcn32/dcn32_smu13_driver_if.h"
 #include "dcn30/dcn30_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 
 #define DC_LOGGER_INIT(logger)
index 5d73efa2f0c9094c4a1bd4fe456115fbd3154aa5..c9dd920744c92893b682098501de4a33b10adb65 100644 (file)
@@ -31,7 +31,7 @@
 #include "dml/dcn31/dcn31_fpu.h"
 #include "dml/dml_inline_defs.h"
 
-#include "link.h"
+#include "link_service.h"
 
 #define DC_LOGGER_INIT(logger)
 
index 6f516af82956449183686e220e124f463d9de3c7..8cda18ce1a760be816427feb130480b1dbc392e9 100644 (file)
@@ -10,7 +10,7 @@
 #include "dml/dcn35/dcn35_fpu.h"
 #include "dml/dml_inline_defs.h"
 
-#include "link.h"
+#include "link_service.h"
 
 #define DC_LOGGER_INIT(logger)
 
index 1313a7c5d87bf076992ae892dff0b4cb15d3c537..73a1e6a037192f77848fbe9eed580ce6332733e2 100644 (file)
@@ -28,7 +28,7 @@
 #include "include/hdcp_msg_types.h"
 #include "include/signal_types.h"
 #include "core_types.h"
-#include "link.h"
+#include "link_service.h"
 #include "link_hwss.h"
 #include "link/protocols/link_dpcd.h"
 
index 153d68375fa3a6f695da5d86865453fd6a721b6c..ea904d52af2087cdcf83a5e088c0cd528e493d73 100644 (file)
@@ -48,7 +48,7 @@
 #include "link_encoder.h"
 #include "link_enc_cfg.h"
 #include "link_hwss.h"
-#include "link.h"
+#include "link_service.h"
 #include "dccg.h"
 #include "clock_source.h"
 #include "clk_mgr.h"
index 506c3bbbf221c691feedf71f5d234f0e16a99677..74f5e05f9cb43309ef0da32896b9aeebd0dc8788 100644 (file)
@@ -55,7 +55,7 @@
 #include "dce/dmub_hw_lock_mgr.h"
 #include "dc_trace.h"
 #include "dce/dmub_outbox.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 
 #define DC_LOGGER \
index cc377fcda6ff9ad579ec6b04f725a22c2834026e..417f2679723eea99370f30080f07b3d8cca5c3cf 100644 (file)
@@ -54,7 +54,7 @@
 #include "dpcd_defs.h"
 #include "inc/link_enc_cfg.h"
 #include "link_hwss.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 
 #define DC_LOGGER \
index 61efb15572ff0d474891cf5340990352bb768956..e2269211553ce1f12eb9185da08ddca94bba37fb 100644 (file)
@@ -35,7 +35,7 @@
 #include "hw/clk_mgr.h"
 #include "dc_dmub_srv.h"
 #include "abm.h"
-#include "link.h"
+#include "link_service.h"
 
 #define DC_LOGGER_INIT(logger)
 
index 139a63101488d151f51a3724f3242079c8628a53..e47ed5571dfdd842d286fd761d334d9fad2e0482 100644 (file)
@@ -50,7 +50,7 @@
 #include "dpcd_defs.h"
 #include "dcn20/dcn20_hwseq.h"
 #include "dcn30/dcn30_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "dc_state_priv.h"
 
 
index 8ba934b83957b87e9cad4739343afe244eb32c80..b822f2dffff0eb75f5fe22503c7aa80f2c22b56d 100644 (file)
@@ -45,7 +45,7 @@
 #include "link_hwss.h"
 #include "dpcd_defs.h"
 #include "dce/dmub_outbox.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn10/dcn10_hwseq.h"
 #include "dcn21/dcn21_hwseq.h"
 #include "inc/link_enc_cfg.h"
index 5609845339505538c137a22cc056b3b6fe03cb8c..f925f669f2a4da26a56f42c2e4c1cd3f7baca801 100644 (file)
@@ -46,7 +46,7 @@
 #include "link_hwss.h"
 #include "dpcd_defs.h"
 #include "dce/dmub_outbox.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn10/dcn10_hwseq.h"
 #include "inc/link_enc_cfg.h"
 #include "dcn30/dcn30_vpg.h"
index 416b1dca3dac919f868074427c449d5c3ef1d5a2..3a6f946643ef5f84d27adccfd82939421fd4f186 100644 (file)
@@ -49,7 +49,7 @@
 #include "dcn20/dcn20_optc.h"
 #include "dce/dmub_hw_lock_mgr.h"
 #include "dcn32/dcn32_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "../dcn20/dcn20_hwseq.h"
 #include "dc_state_priv.h"
 
index 764eff6a4ec6b730aa3b684c8406920453d371f5..05011061822cf0f2a36dd898985809f9a10b3283 100644 (file)
@@ -46,7 +46,7 @@
 #include "link_hwss.h"
 #include "dpcd_defs.h"
 #include "dce/dmub_outbox.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn10/dcn10_hwseq.h"
 #include "inc/link_enc_cfg.h"
 #include "dcn30/dcn30_vpg.h"
index d5b5e2ce6ff63738bc157d0ca0c3207b19fe4aeb..9956145e3d184f8e24fcfede516cba12f0f714f5 100644 (file)
@@ -25,7 +25,7 @@
 #include "dpcd_defs.h"
 #include "clk_mgr.h"
 #include "dsc.h"
-#include "link.h"
+#include "link_service.h"
 
 #include "dce/dmub_hw_lock_mgr.h"
 #include "dcn10/dcn10_cm_common.h"
similarity index 98%
rename from drivers/gpu/drm/amd/display/dc/inc/link.h
rename to drivers/gpu/drm/amd/display/dc/inc/link_service.h
index 0cce49d95e261baa2763a8ce06b1a3528a45e51e..1e34e84160aa658314fd5b818ab9d5d157823e06 100644 (file)
@@ -42,8 +42,8 @@
  * dc_link_exports.c or other dc files implement dc.h
  *
  * DC to Link:
- * dc_link_exports.c or other dc files include link.h
- * link_factory.c implements link.h
+ * dc_link_exports.c or other dc files include link_service.h
+ * link_factory.c implements link_service.h
  *
  * Link sub-component to Link sub-component:
  * link_factory.c includes --> link_xxx.h
@@ -73,7 +73,7 @@
  * 2. Implement your function in the suitable link_xxx.c file.
  * 3. Assign the function to link_service in link_factory.c
  * 4. NEVER include link_xxx.h headers outside link component.
- * 5. NEVER include link.h on DM side.
+ * 5. NEVER include link_service.h on DM side.
  */
 #include "core_types.h"
 
index eae23ea7f6ecaeb1647ba144e3bc7389e37c148e..033650cdb81163c1c3e60ba7b4c44cea5829e860 100644 (file)
@@ -24,7 +24,7 @@
  */
 #ifndef __LINK_DP_CTS_H__
 #define __LINK_DP_CTS_H__
-#include "link.h"
+#include "link_service.h"
 void dp_handle_automated_test(struct dc_link *link);
 bool dp_set_test_pattern(
                struct dc_link *link,
index ab437a0c9101ee50de3b8cda979c9137e88b7b84..9ff4a6c46a2b74c80f4a87a5f4dd6e345b74e02f 100644 (file)
@@ -24,7 +24,7 @@
  */
 #ifndef __LINK_DP_TRACE_H__
 #define __LINK_DP_TRACE_H__
-#include "link.h"
+#include "link_service.h"
 
 void dp_trace_init(struct dc_link *link);
 void dp_trace_reset(struct dc_link *link);
index 45f0e091fcb01beb61cfa11feaae1a79572bf5bb..4a25210a344fdf7fe2ca39caeb1e74715611c1a6 100644 (file)
@@ -27,7 +27,7 @@
 #define __LINK_HWSS_DIO_H__
 
 #include "link_hwss.h"
-#include "link.h"
+#include "link_service.h"
 
 const struct link_hwss *get_dio_link_hwss(void);
 bool can_use_dio_link_hwss(const struct dc_link *link,
index 9ac08a33254026d79fc411d6d5bd37e439b0ca7f..cf578a8662a480974565efdba3f786cffad0576f 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef __LINK_HWSS_DIO_FIXED_VS_PE_RETIMER_H__
 #define __LINK_HWSS_DIO_FIXED_VS_PE_RETIMER_H__
 
-#include "link.h"
+#include "link_service.h"
 
 uint32_t dp_dio_fixed_vs_pe_retimer_get_lttpr_write_address(struct dc_link *link);
 uint8_t dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(struct dc_link *link);
index 1d3ed8ca83b5586805fd14bef41f2bc764c9330e..7c9005bc25874837eaca85ab7e45ce595e77bf3f 100644 (file)
@@ -26,7 +26,7 @@
 #define __LINK_HWSS_HPO_DP_H__
 
 #include "link_hwss.h"
-#include "link.h"
+#include "link_service.h"
 
 void set_hpo_dp_throttled_vcp_size(struct pipe_ctx *pipe_ctx,
                struct fixed31_32 throttled_vcp_size);
index 82301187bc7cff98cc4b13d971b740e5e0dc21d6..8bf36827ecfb2c116bfb869cd44fd864a1058a4f 100644 (file)
@@ -25,7 +25,7 @@
 #ifndef __LINK_HWSS_HPO_FIXED_VS_PE_RETIMER_DP_H__
 #define __LINK_HWSS_HPO_FIXED_VS_PE_RETIMER_DP_H__
 
-#include "link.h"
+#include "link_service.h"
 
 bool requires_fixed_vs_pe_retimer_hpo_link_hwss(const struct dc_link *link);
 const struct link_hwss *get_hpo_fixed_vs_pe_retimer_dp_link_hwss(void);
index 7da05078721ef4d9a2e10c52da4eb30510d9c160..1ab29476060b2f08444d982c3a7c53002ba26c71 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef __DC_LINK_DETECTION_H__
 #define __DC_LINK_DETECTION_H__
-#include "link.h"
+#include "link_service.h"
 bool link_detect(struct dc_link *link, enum dc_detect_reason reason);
 bool link_detect_connection_type(struct dc_link *link,
                enum dc_connection_type *type);
index 9398f9c1666a0a497d70b2dd28de5a2ef61068b5..bd6fc63064a3b0044eed0e76806a7df1ce70fc69 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef __DC_LINK_DPMS_H__
 #define __DC_LINK_DPMS_H__
 
-#include "link.h"
+#include "link_service.h"
 void link_set_dpms_on(
                struct dc_state *state,
                struct pipe_ctx *pipe_ctx);
index e96220d48d03b5b529528e6f1c70acc34c7663db..aad36ca1a31c442a20864ca79778b1686a57eb59 100644 (file)
@@ -24,7 +24,7 @@
  */
 #ifndef __LINK_FACTORY_H__
 #define __LINK_FACTORY_H__
-#include "link.h"
+#include "link_service.h"
 struct dc_link *link_create(const struct link_init_data *init_params);
 void link_destroy(struct dc_link **link);
 
index 1907bda3cb6ee63f54ced55725a64ca442e29817..f7aa3bc3a93ad281dc83f43e284e79676bd7f9cf 100644 (file)
@@ -24,7 +24,7 @@
  */
 #ifndef __LINK_RESOURCE_H__
 #define __LINK_RESOURCE_H__
-#include "link.h"
+#include "link_service.h"
 void link_get_cur_res_map(const struct dc *dc, uint32_t *map);
 void link_restore_res_map(const struct dc *dc, uint32_t *map);
 void link_get_cur_link_res(const struct dc_link *link,
index 9553c81053fe1aefc555800456887e42c4453d92..595774e764536ba22e8352d421a5db2868abe8e3 100644 (file)
@@ -24,7 +24,7 @@
  */
 #ifndef __LINK_VALIDATION_H__
 #define __LINK_VALIDATION_H__
-#include "link.h"
+#include "link_service.h"
 
 enum dc_status link_validate_mode_timing(
                const struct dc_stream_state *stream,
index a3e25e55bed65b15a7e511a6d2427abfd4182464..d3e6f01a6a90d588ce0bfcdbccc860b98cfbcec9 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef __DAL_DDC_SERVICE_H__
 #define __DAL_DDC_SERVICE_H__
 
-#include "link.h"
+#include "link_service.h"
 
 #define AUX_POWER_UP_WA_DELAY 500
 #define I2C_OVER_AUX_DEFER_WA_DELAY 70
index 7170db5a1c13e8f6c6fb6e30927a90c4de9e1eb5..6e17f72a752f38d64e7e78184c521192205a1c12 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef __DC_LINK_DP_CAPABILITY_H__
 #define __DC_LINK_DP_CAPABILITY_H__
 
-#include "link.h"
+#include "link_service.h"
 
 bool detect_dp_sink_caps(struct dc_link *link);
 
index a61edfc9ca7aaa18a4b28154615d5635604229c5..7cd03fa4892b31c0e069ccc6a8041e488dafd6ef 100644 (file)
@@ -27,7 +27,7 @@
 #ifndef __DC_LINK_DPIA_H__
 #define __DC_LINK_DPIA_H__
 
-#include "link.h"
+#include "link_service.h"
 
 /* Read tunneling device capability from DPCD and update link capability
  * accordingly.
index 41efcb3e44e2e8d3ce58da86122ad69b9ce769d2..30cd8e2b9d355d373c7385d0c749230a7abaa9ab 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef DC_INC_LINK_DP_DPIA_BW_H_
 #define DC_INC_LINK_DP_DPIA_BW_H_
 
-#include "link.h"
+#include "link_service.h"
 
 
 /*
index ac33730fedd4c4a76ccc6c5f0d5e885be3e95b21..87516fb3b45ae0823ad847d76361704b11801d19 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef __DC_LINK_DP_IRQ_HANDLER_H__
 #define __DC_LINK_DP_IRQ_HANDLER_H__
 
-#include "link.h"
+#include "link_service.h"
 bool dp_parse_link_loss_status(
        struct dc_link *link,
        union hpd_irq_data *hpd_irq_dpcd_data);
index ab1c1f8f1f8b8eefab9366c64ec16a474cbb201d..58e1544945825546c35d655497622354c856ebc6 100644 (file)
@@ -26,7 +26,7 @@
 #ifndef __DC_LINK_DP_PHY_H__
 #define __DC_LINK_DP_PHY_H__
 
-#include "link.h"
+#include "link_service.h"
 void dp_enable_link_phy(
        struct dc_link *link,
        const struct link_resource *link_res,
index 574b083e093690bc9f3f7554e9be6336b5ff22b8..ce52de22ab7a7a7043195b1b4accd6fbb14d8156 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef __DC_LINK_DP_TRAINING_H__
 #define __DC_LINK_DP_TRAINING_H__
-#include "link.h"
+#include "link_service.h"
 
 bool perform_link_training_with_retries(
        const struct dc_link_settings *link_setting,
index 08d787a1e4517ee46bd0397dc8fc98ae464fb29a..c2717c678c7251c2d1bc245e5e6cbd2107b4bf13 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef __LINK_DPCD_H__
 #define __LINK_DPCD_H__
-#include "link.h"
+#include "link_service.h"
 #include "dpcd_defs.h"
 
 enum dc_status core_link_read_dpcd(
index 4a475d5b9dde77d140c86328119a71ed59c14a89..62a6344e613e32c7054fbdcafc1b629a9f782af5 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef __DC_LINK_EDP_PANEL_CONTROL_H__
 #define __DC_LINK_EDP_PANEL_CONTROL_H__
-#include "link.h"
+#include "link_service.h"
 
 enum dp_panel_mode dp_get_panel_mode(struct dc_link *link);
 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode);
index 4fb526b264f97484724f2a46e9a2504e1270d9a2..af529328ba177030be46003a9cdf36232c217efc 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef __DC_LINK_HPD_H__
 #define __DC_LINK_HPD_H__
-#include "link.h"
+#include "link_service.h"
 
 enum hpd_source_id get_hpd_line(struct dc_link *link);
 /*
index 2f23cc6df571172cfe05e94185017ae509efc8e7..540e04ec1e2d97014a9143b782d16e5c7276abd2 100644 (file)
@@ -67,7 +67,7 @@
 #include "reg_helper.h"
 
 #include "dce100/dce100_resource.h"
-#include "link.h"
+#include "link_service.h"
 
 #ifndef mmDP0_DP_DPHY_INTERNAL_CTRL
        #define mmDP0_DP_DPHY_INTERNAL_CTRL             0x210f
index f9cbdad3ef3707c4d2249518c1a2bb656ba6f07e..84b38d2d6967e2e8a852a5a952fa40637452cf11 100644 (file)
@@ -85,7 +85,7 @@
 #include "vm_helper.h"
 
 #include "link_enc_cfg.h"
-#include "link.h"
+#include "link_service.h"
 
 #define DC_LOGGER_INIT(logger)
 
index 201ed863b69eb62bf2e84cf99fb2d4a20c4cb8ba..ff63f59ff928ad64e1bb213931d8a2b3b43cb5e2 100644 (file)
@@ -60,7 +60,7 @@
 #include "dml/display_mode_vba.h"
 #include "dcn30/dcn30_dccg.h"
 #include "dcn10/dcn10_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "dce/dce_panel_cntl.h"
 
 #include "dcn30/dcn30_dwb.h"
index 3345068a878c1069c939697dc0958a70f9dc6c1e..61623cb518d9cfaff6101b5210919ef3dfee28d4 100644 (file)
@@ -47,7 +47,8 @@
 
 #include "dcn10/dcn10_resource.h"
 
-#include "link.h"
+#include "link_service.h"
+
 #include "dce/dce_abm.h"
 #include "dce/dce_audio.h"
 #include "dce/dce_aux.h"
index 3479e1eab4cd7f383ff22082e26378c71bd6e9ba..02b9a84f2db3b16785a2b92c3dd520f5029603ff 100644 (file)
@@ -47,7 +47,7 @@
 
 #include "dcn10/dcn10_resource.h"
 
-#include "link.h"
+#include "link_service.h"
 
 #include "dce/dce_abm.h"
 #include "dce/dce_audio.h"
index 9917b366f00c6478786f99fc4e9297a232a17800..4acd97b3e4c948ac7a581824235baf78bf833ed6 100644 (file)
@@ -69,7 +69,7 @@
 #include "dml/display_mode_vba.h"
 #include "dcn32/dcn32_dccg.h"
 #include "dcn10/dcn10_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn31/dcn31_panel_cntl.h"
 
 #include "dcn30/dcn30_dwb.h"
index 061c0907d802d6a21d38afd8a1480039d82ec44d..ad214986f7ac71bceb911493620b19b81baff9f4 100644 (file)
@@ -72,7 +72,7 @@
 #include "dml/display_mode_vba.h"
 #include "dcn32/dcn32_dccg.h"
 #include "dcn10/dcn10_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn31/dcn31_panel_cntl.h"
 
 #include "dcn30/dcn30_dwb.h"
index 1d1a002f6d54f14026bafbd331d6da34f1bfee76..07552445e424f895c8b0dd3787a011a28115f185 100644 (file)
@@ -61,7 +61,7 @@
 #include "dcn31/dcn31_hpo_dp_stream_encoder.h"
 #include "dcn31/dcn31_hpo_dp_link_encoder.h"
 #include "dcn32/dcn32_hpo_dp_link_encoder.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn31/dcn31_apg.h"
 #include "dcn32/dcn32_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
index 47912e0861a2b8a3bd46e51b20ceb3ca9ed71fdc..cb0478a9a34da50d339ae2650d4e752e348adae9 100644 (file)
@@ -40,7 +40,7 @@
 #include "dcn31/dcn31_hpo_dp_stream_encoder.h"
 #include "dcn31/dcn31_hpo_dp_link_encoder.h"
 #include "dcn32/dcn32_hpo_dp_link_encoder.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn31/dcn31_apg.h"
 #include "dcn32/dcn32_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
index 9ba91e214ddaae1e2b528da4f1f62ef928fc79d9..126090c9bb8a84a290ce48d1c74a7a30c5f28c2e 100644 (file)
@@ -40,7 +40,7 @@
 #include "dcn31/dcn31_hpo_dp_stream_encoder.h"
 #include "dcn31/dcn31_hpo_dp_link_encoder.h"
 #include "dcn32/dcn32_hpo_dp_link_encoder.h"
-#include "link.h"
+#include "link_service.h"
 #include "dcn31/dcn31_apg.h"
 #include "dcn32/dcn32_dio_link_encoder.h"
 #include "dcn31/dcn31_vpg.h"
index 068c123ea8a8abc062abf3874220d14f517b7250..d498c0983d74f23faa9e1452536d0cbeec56fbec 100644 (file)
@@ -50,7 +50,7 @@
 #include "dml/display_mode_vba.h"
 #include "dcn401/dcn401_dccg.h"
 #include "dcn10/dcn10_resource.h"
-#include "link.h"
+#include "link_service.h"
 #include "link_enc_cfg.h"
 #include "dcn31/dcn31_panel_cntl.h"