Skip to content

Commit 3577e16

Browse files
Wesley Chalmersalexdeucher
authored andcommitted
drm/amd/display: Set DISPCLK_MAX_ERRDET_CYCLES to 7
[WHY] DISPCLK_MAX_ERRDET_CYCLES must be 7 to prevent connection loss when changing DENTIST_DISPCLK_WDIVIDER from 126 to 127 and back. Signed-off-by: Wesley Chalmers <[email protected]> Reviewed-by: Dmytro Laktyushkin <[email protected]> Acked-by: Stylon Wang <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 39a1355 commit 3577e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ void dcn20_dccg_init(struct dce_hwseq *hws)
244244
REG_WRITE(MILLISECOND_TIME_BASE_DIV, 0x1186a0);
245245

246246
/* This value is dependent on the hardware pipeline delay so set once per SOC */
247-
REG_WRITE(DISPCLK_FREQ_CHANGE_CNTL, 0x801003c);
247+
REG_WRITE(DISPCLK_FREQ_CHANGE_CNTL, 0xe01003c);
248248
}
249249

250250
void dcn20_disable_vga(

0 commit comments

Comments
 (0)