Commit cedaf307 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

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

Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment