提交 4e5095ca 编写于 作者: D Dmytro Laktyushkin 提交者: Alex Deucher

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

Signed-off-by: NDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: NTony Cheng <Tony.Cheng@amd.com>
Acked-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册