aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch
new file mode 100644
index 00000000..70096ec7
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/1082-drm-amd-display-Rename-configure_encoder-to-enc1_con.patch
@@ -0,0 +1,62 @@
+From e4c0f618a08e8acd5b805579f5ce35de6e991644 Mon Sep 17 00:00:00 2001
+From: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Date: Mon, 3 Dec 2018 13:56:40 -0500
+Subject: [PATCH 1082/2940] drm/amd/display: Rename configure_encoder to
+ enc1_configure_encoder
+
+Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
+Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
+Acked-by: Leo Li <sunpeng.li@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c | 6 +++---
+ drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h | 2 +-
+ 2 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c
+index af0bcff0b01a..771449f8984f 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.c
+@@ -440,7 +440,7 @@ static uint8_t get_frontend_source(
+ }
+ }
+
+-void configure_encoder(
++void enc1_configure_encoder(
+ struct dcn10_link_encoder *enc10,
+ const struct dc_link_settings *link_settings)
+ {
+@@ -910,7 +910,7 @@ void dcn10_link_encoder_enable_dp_output(
+ * but it's not passed to asic_control.
+ * We need to set number of lanes manually.
+ */
+- configure_encoder(enc10, link_settings);
++ enc1_configure_encoder(enc10, link_settings);
+
+ cntl.action = TRANSMITTER_CONTROL_ENABLE;
+ cntl.engine_id = enc->preferred_engine;
+@@ -949,7 +949,7 @@ void dcn10_link_encoder_enable_dp_mst_output(
+ * but it's not passed to asic_control.
+ * We need to set number of lanes manually.
+ */
+- configure_encoder(enc10, link_settings);
++ enc1_configure_encoder(enc10, link_settings);
+
+ cntl.action = TRANSMITTER_CONTROL_ENABLE;
+ cntl.engine_id = ENGINE_ID_UNKNOWN;
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
+index 49ead12b2532..670b46e887ed 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_link_encoder.h
+@@ -271,7 +271,7 @@ void dcn10_link_encoder_setup(
+ struct link_encoder *enc,
+ enum signal_type signal);
+
+-void configure_encoder(
++void enc1_configure_encoder(
+ struct dcn10_link_encoder *enc10,
+ const struct dc_link_settings *link_settings);
+
+--
+2.17.1
+