drm/amd/display: dal1.1 hwseq prog update

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Dmytro Laktyushkin 2017-07-07 11:24:13 -04:00 committed by Alex Deucher
parent 7dbeaae2a5
commit 4e5095ca06
1 changed files with 4 additions and 8 deletions

View File

@ -64,17 +64,13 @@ static void enable_dppclk(
plane_id, plane_id,
dppclk_div); dppclk_div);
if (dppclk_div) { if (hws->shifts->DPPCLK_RATE_CONTROL)
/* 1/2 DISPCLK*/
REG_UPDATE_2(DPP_CONTROL[plane_id], REG_UPDATE_2(DPP_CONTROL[plane_id],
DPPCLK_RATE_CONTROL, 1, DPPCLK_RATE_CONTROL, dppclk_div,
DPP_CLOCK_ENABLE, 1); DPP_CLOCK_ENABLE, 1);
} else { else
/* DISPCLK */ REG_UPDATE(DPP_CONTROL[plane_id],
REG_UPDATE_2(DPP_CONTROL[plane_id],
DPPCLK_RATE_CONTROL, 0,
DPP_CLOCK_ENABLE, 1); DPP_CLOCK_ENABLE, 1);
}
} }
static void enable_power_gating_plane( static void enable_power_gating_plane(