aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch')
-rw-r--r--common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch b/common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch
new file mode 100644
index 00000000..0d3f4031
--- /dev/null
+++ b/common/recipes-kernel/linux/files/0711-drm-amd-dal-Fix-issue-with-pipe-powergating-not-call.patch
@@ -0,0 +1,31 @@
+From 721a853673f5fadb7e85df677bcb3930b0a1758e Mon Sep 17 00:00:00 2001
+From: Anthony Koo <Anthony.Koo@amd.com>
+Date: Wed, 20 Jan 2016 13:41:59 -0500
+Subject: [PATCH 0711/1110] drm/amd/dal: Fix issue with pipe powergating not
+ calling pipe 0 correctly
+
+[Description]
+Code double incremented the controller index, so pipe 0 was never programmed.
+
+Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+index 8afd42e..24b8824 100644
+--- a/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/dal/dc/dce110/dce110_hw_sequencer.c
+@@ -981,7 +981,7 @@ static void disable_vga_and_power_gate_all_controllers(
+ * powergating. */
+ dce110_enable_display_pipe_clock_gating(ctx,
+ true);
+- dce110_enable_display_power_gating(ctx, i+1, dcb,
++ dce110_enable_display_power_gating(ctx, i, dcb,
+ PIPE_GATING_CONTROL_ENABLE);
+ }
+ }
+--
+2.7.4
+