summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
diff options
context:
space:
mode:
authorWenjing Liu <wenjing.liu@amd.com>2022-12-12 13:52:57 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-01-13 14:57:40 -0500
commita98cdd8c485600a2cfc15508a38c13c49b551fb1 (patch)
treece743a2a2a846fc831a63ec3f05c211274c7f331 /drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
parent4370f72e3845a1741c6db8ba149c483f57352fd5 (diff)
downloadlinux-stable-a98cdd8c485600a2cfc15508a38c13c49b551fb1.tar.gz
linux-stable-a98cdd8c485600a2cfc15508a38c13c49b551fb1.tar.bz2
linux-stable-a98cdd8c485600a2cfc15508a38c13c49b551fb1.zip
drm/amd/display: refactor ddc logic from dc_link_ddc to link_ddc
[why] 1. Move dd_link_ddc functions to link_ddc. 2. Move link ddc functions declaration exposed in dc to link.h 3. Move link ddc functions declaration exposed in dm to dc_link.h 4. Remove i2caux_interface.h file Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com> Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c')
-rw-r--r--drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c b/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
index 4233955e3c47..6c4b47f90d49 100644
--- a/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
+++ b/drivers/gpu/drm/amd/display/dc/hdcp/hdcp_msg.c
@@ -28,10 +28,9 @@
#include "dm_services.h"
#include "dm_helpers.h"
#include "include/hdcp_types.h"
-#include "include/i2caux_interface.h"
#include "include/signal_types.h"
#include "core_types.h"
-#include "dc_link_ddc.h"
+#include "link.h"
#include "link_hwss.h"
#include "inc/link_dpcd.h"