提交 cedaf307 编写于 作者: T Tom St Denis 提交者: Alex Deucher

drm/amd/display: Clean up indentation in dce120_tg_set_blank()

Signed-off-by: NTom St Denis <tom.stdenis@amd.com>
Reviewed-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 7b7d6865
......@@ -768,17 +768,11 @@ void dce120_tg_set_blank(struct timing_generator *tg,
CRTC0_CRTC_DOUBLE_BUFFER_CONTROL,
CRTC_BLANK_DATA_DOUBLE_BUFFER_EN, 0);
if (enable_blanking) {
CRTC_REG_SET(
CRTC0_CRTC_BLANK_CONTROL,
CRTC_BLANK_DATA_EN, 1);
} else
dm_write_reg_soc15(
tg->ctx,
mmCRTC0_CRTC_BLANK_CONTROL,
tg110->offsets.crtc,
0);
if (enable_blanking)
CRTC_REG_SET(CRTC0_CRTC_BLANK_CONTROL, CRTC_BLANK_DATA_EN, 1);
else
dm_write_reg_soc15(tg->ctx, mmCRTC0_CRTC_BLANK_CONTROL,
tg110->offsets.crtc, 0);
}
bool dce120_tg_validate_timing(struct timing_generator *tg,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册