From 721a853673f5fadb7e85df677bcb3930b0a1758e Mon Sep 17 00:00:00 2001 From: Anthony Koo 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 Acked-by: Harry Wentland --- 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