Commit 4e5095ca authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher

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

Signed-off-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7dbeaae2
...@@ -64,17 +64,13 @@ static void enable_dppclk( ...@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment