drm/amd/display: Change blackout time to 0 on CZ/ST

These should only be non-0 if big hammer w/a is implemented. Currently
DC doesn't implement it, so leave them 0.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Harry Wentland 2018-01-30 14:58:42 -05:00 committed by Alex Deucher
parent ed8462acaf
commit fa4d6d8e51
1 changed files with 4 additions and 4 deletions

View File

@ -2033,8 +2033,8 @@ void bw_calcs_init(struct bw_calcs_dceip *bw_dceip,
vbios.cursor_width = 32; vbios.cursor_width = 32;
vbios.average_compression_rate = 4; vbios.average_compression_rate = 4;
vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256; vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
vbios.blackout_duration = bw_int_to_fixed(18); /* us */ vbios.blackout_duration = bw_int_to_fixed(0); /* us */
vbios.maximum_blackout_recovery_time = bw_int_to_fixed(20); vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
dceip.large_cursor = false; dceip.large_cursor = false;
dceip.dmif_request_buffer_size = bw_int_to_fixed(768); dceip.dmif_request_buffer_size = bw_int_to_fixed(768);
@ -2366,8 +2366,8 @@ void bw_calcs_init(struct bw_calcs_dceip *bw_dceip,
vbios.cursor_width = 32; vbios.cursor_width = 32;
vbios.average_compression_rate = 4; vbios.average_compression_rate = 4;
vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256; vbios.number_of_request_slots_gmc_reserves_for_dmif_per_channel = 256;
vbios.blackout_duration = bw_int_to_fixed(18); /* us */ vbios.blackout_duration = bw_int_to_fixed(0); /* us */
vbios.maximum_blackout_recovery_time = bw_int_to_fixed(20); vbios.maximum_blackout_recovery_time = bw_int_to_fixed(0);
dceip.large_cursor = false; dceip.large_cursor = false;
dceip.dmif_request_buffer_size = bw_int_to_fixed(768); dceip.dmif_request_buffer_size = bw_int_to_fixed(768);