aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch
new file mode 100644
index 00000000..5b317641
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5069-drm-amd-display-Enable-DFS-bypass-support-in-DC-conf.patch
@@ -0,0 +1,44 @@
+From 4a2b4c9fafa90c8c16ef9630b6f723657b4944aa Mon Sep 17 00:00:00 2001
+From: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
+Date: Tue, 24 Jul 2018 09:42:23 -0400
+Subject: [PATCH 5069/5725] drm/amd/display: Enable DFS bypass support in DC
+ config
+
+[Why]
+
+We explicitly disable DFS bypass support when creating DC. Support
+for this feature should now be in place so it can be left implicitly
+enabled.
+
+[How]
+
+Remove the line that disables DFS bypass support.
+
+Note: This option was actually reset to false anyway for most of
+the hardware I've tested on making this particular line misleading
+in the first place. This patch also fixes this issue.
+
+Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
+Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
+Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/core/dc.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/core/dc.c b/drivers/gpu/drm/amd/display/dc/core/dc.c
+index 8ca5efd..e29417c 100644
+--- a/drivers/gpu/drm/amd/display/dc/core/dc.c
++++ b/drivers/gpu/drm/amd/display/dc/core/dc.c
+@@ -693,8 +693,6 @@ struct dc *dc_create(const struct dc_init_data *init_params)
+ DC_LOG_DC("Display Core initialized\n");
+
+
+- /* TODO: missing feature to be enabled */
+- dc->debug.disable_dfs_bypass = true;
+
+ return dc;
+
+--
+2.7.4
+