drm/amd/display: Clean up indentation in dce120_tg_set_blank()
Signed-off-by: Tom St Denis <tom.stdenis@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
7b7d68659e
commit
cedaf3073a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue