From: Tom St Denis <tom.stdenis@xxxxxxx> Change-Id: I0a0cb44a5224a74dd4f0a819c3e8c38c2afca8a1 Signed-off-by: Tom St Denis <tom.stdenis at amd.com> Reviewed-by: Harry Wentland <Harry.Wentland at amd.com> --- .../drm/amd/display/dc/dce120/dce120_timing_generator.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c index 1c25dc66ff4f..1e2843e5d97e 100644 --- a/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c +++ b/drivers/gpu/drm/amd/display/dc/dce120/dce120_timing_generator.c @@ -746,15 +746,14 @@ bool dce120_tg_is_blanked(struct timing_generator *tg) mmCRTC0_CRTC_BLANK_CONTROL, tg110->offsets.crtc); - if ( - get_reg_field_value( - value, - CRTC0_CRTC_BLANK_CONTROL, - CRTC_BLANK_DATA_EN) == 1 && - get_reg_field_value( - value, - CRTC0_CRTC_BLANK_CONTROL, - CRTC_CURRENT_BLANK_STATE) == 1) + if (get_reg_field_value( + value, + CRTC0_CRTC_BLANK_CONTROL, + CRTC_BLANK_DATA_EN) == 1 && + get_reg_field_value( + value, + CRTC0_CRTC_BLANK_CONTROL, + CRTC_CURRENT_BLANK_STATE) == 1) return true; return false; -- 2.11.0