Lines Matching +full:100 +full:k
98 int32_t i, j, k; in calculate_bandwidth() local
1071 … request alternation slice, because different lines are in completely different 4k address bases.*/ in calculate_bandwidth()
1197 …us_width), bw_frc_to_fixed(dceip->percent_of_ideal_port_bw_received_after_urgent_latency, 100))))); in calculate_bandwidth()
1205 for (k = 0; k <= 7; k++) { in calculate_bandwidth()
1211 …k] = bw_max2(bw_mul((bw_add(data->total_dmifmc_urgent_latency, data->dmif_burst_time[j][k])), bw_f… in calculate_bandwidth()
1258 …k] = bw_mul(bw_int_to_fixed(2), bw_max2((bw_add((bw_div(data->src_data_for_first_output_pixel[i], … in calculate_bandwidth()
1261 …k] = bw_max2(bw_mul((bw_add(vbios->mcifwrmc_urgent_latency, data->mcifwr_burst_time[j][k])), bw_fl… in calculate_bandwidth()
1267 …k] = bw_max2((bw_add((bw_div(data->src_data_for_first_output_pixel[i], bw_min2(bw_mul(data->bytes_… in calculate_bandwidth()
1288 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1289 if (data->enable[k]) { in calculate_bandwidth()
1292 data->display_pstate_change_enable[k] = 0; in calculate_bandwidth()
1328 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1329 if (data->enable[k] && bw_mtn(vbios->blackout_duration, bw_int_to_fixed(0))) { in calculate_bandwidth()
1330 …if (surface_type[k] != bw_def_display_write_back420_luma && surface_type[k] != bw_def_display_writ… in calculate_bandwidth()
1331 …m_latency_hiding_with_cursor[k], vbios->blackout_duration), data->dmif_burst_time[i][j]), data->li… in calculate_bandwidth()
1332 …k], dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(da… in calculate_bandwidth()
1336 …d_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_req… in calculate_bandwidth()
1337 …k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_durat… in calculate_bandwidth()
1341 …_with_cursor[k], vbios->blackout_duration), data->dmif_burst_time[i][j]), data->mcifwr_burst_time[… in calculate_bandwidth()
1342 …k], dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw… in calculate_bandwidth()
1346 …d_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_req… in calculate_bandwidth()
1347 …k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), (bw_add(vbios->blackout_durat… in calculate_bandwidth()
1389 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1390 if (data->enable[k]) { in calculate_bandwidth()
1391 …if (surface_type[k] != bw_def_display_write_back420_luma && surface_type[k] != bw_def_display_writ… in calculate_bandwidth()
1392 …ding_with_cursor[k], vbios->nbp_state_change_latency), data->dmif_burst_time[i][j]), data->dram_sp… in calculate_bandwidth()
1397 …k], dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw… in calculate_bandwidth()
1399 data->display_pstate_change_enable[k] = 1; in calculate_bandwidth()
1406 …[k], vbios->nbp_state_change_latency), data->dmif_burst_time[i][j]), data->mcifwr_burst_time[i][j]… in calculate_bandwidth()
1411 …k], dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw… in calculate_bandwidth()
1413 data->display_pstate_change_enable[k] = 1; in calculate_bandwidth()
1424 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1425 if (data->enable[k] == 1 && data->display_pstate_change_enable[k] == 1) { in calculate_bandwidth()
1433 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1434 if (data->enable[k]) { in calculate_bandwidth()
1435 …if (surface_type[k] != bw_def_display_write_back420_luma && surface_type[k] != bw_def_display_writ… in calculate_bandwidth()
1436 …k] = bw_sub(bw_sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_height[k… in calculate_bandwidth()
1437 …in = bw_min2(data->min_vblank_dram_speed_change_margin, data->v_blank_dram_speed_change_margin[k]); in calculate_bandwidth()
1440 …k] = bw_sub(bw_sub(bw_sub(bw_sub(bw_div(bw_mul((bw_sub(data->v_total[k], bw_sub(bw_div(data->src_h… in calculate_bandwidth()
1441 …in = bw_min2(data->min_vblank_dram_speed_change_margin, data->v_blank_dram_speed_change_margin[k]); in calculate_bandwidth()
1545 …verage_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[low]),bw_div(… in calculate_bandwidth()
1551 …verage_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[mid]),bw_div(… in calculate_bandwidth()
1557 …verage_percent_of_ideal_drambw_display_can_use_in_normal_system_operation, 100),yclk[high]),bw_div… in calculate_bandwidth()
1574 …_bus_width, bw_frc_to_fixed(dceip->percent_of_ideal_port_bw_received_after_urgent_latency, 100)))); in calculate_bandwidth()
1588 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[low]),vbios->… in calculate_bandwidth()
1594 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[mid]),vbios->… in calculate_bandwidth()
1600 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_mid2]),vbio… in calculate_bandwidth()
1606 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_mid3]),vbio… in calculate_bandwidth()
1612 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_mid4]),vbio… in calculate_bandwidth()
1618 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_mid5]),vbio… in calculate_bandwidth()
1624 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_mid6]),vbio… in calculate_bandwidth()
1630 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_high]),vbio… in calculate_bandwidth()
1636 …erage_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation, 100),sclk[s_high]),vbio… in calculate_bandwidth()
1662 …d_factor = bw_add(bw_int_to_fixed(1), bw_div(vbios->down_spread_percentage, bw_int_to_fixed(100))); in calculate_bandwidth()
1798 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
1799 …if (data->enable[k] && bw_mtn(vbios->blackout_duration, bw_int_to_fixed(0)) && data->cpup_state_ch… in calculate_bandwidth()
1800 …if (surface_type[k] != bw_def_display_write_back420_luma && surface_type[k] != bw_def_display_writ… in calculate_bandwidth()
1802 …d_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_req… in calculate_bandwidth()
1803 …k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw… in calculate_bandwidth()
1808 …d_data_buffer_size[k], bw_mul(bw_div(bw_mul(data->display_bandwidth[k], data->useful_bytes_per_req… in calculate_bandwidth()
1809 …k], data->useful_bytes_per_request[k]), data->bytes_per_request[k]), vbios->blackout_duration), bw… in calculate_bandwidth()
1844 …data->sclk_deep_sleep = bw_max2(bw_div(bw_mul(data->dispclk, bw_frc_to_fixed(115, 100)), data->min… in calculate_bandwidth()
1965 …to_fixed(data->num_stutter_bursts)), bw_frc_to_fixed(166666667, 10000))))), bw_int_to_fixed(100))); in calculate_bandwidth()
2005 …_bus_width, bw_frc_to_fixed(dceip->percent_of_ideal_port_bw_received_after_urgent_latency, 100)))); in calculate_bandwidth()
2012 for (k = 0; k <= maximum_number_of_surfaces - 1; k++) { in calculate_bandwidth()
2013 data->output_bpphdmi[k] = bw_def_na; in calculate_bandwidth()
2014 data->output_bppdp4_lane_hbr[k] = bw_def_na; in calculate_bandwidth()
2015 data->output_bppdp4_lane_hbr2[k] = bw_def_na; in calculate_bandwidth()
2016 data->output_bppdp4_lane_hbr3[k] = bw_def_na; in calculate_bandwidth()
2017 if (data->enable[k]) { in calculate_bandwidth()
2018 …data->output_bpphdmi[k] = bw_fixed_to_int(bw_mul(bw_div(bw_min2(bw_int_to_fixed(600), data->max_ph… in calculate_bandwidth()
2020 …->output_bppdp4_lane_hbr[k] = bw_fixed_to_int(bw_mul(bw_div(bw_mul(bw_int_to_fixed(270), bw_int_to… in calculate_bandwidth()
2023 …>output_bppdp4_lane_hbr2[k] = bw_fixed_to_int(bw_mul(bw_div(bw_mul(bw_int_to_fixed(540), bw_int_to… in calculate_bandwidth()
2026 …>output_bppdp4_lane_hbr3[k] = bw_fixed_to_int(bw_mul(bw_div(bw_mul(bw_int_to_fixed(810), bw_int_to… in calculate_bandwidth()
2072 vbios->low_yclk = bw_frc_to_fixed(66666, 100); in bw_calcs_init()
2080 vbios->high_sclk = bw_frc_to_fixed(62609, 100); in bw_calcs_init()
2102 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2103 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2104 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2173 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2174 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2218 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2219 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2220 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2289 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2290 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2334 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2335 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2336 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2405 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2406 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2450 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2451 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2452 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2521 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2522 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2553 vbios->nbp_state_change_latency = bw_frc_to_fixed(2008, 100); in bw_calcs_init()
2563 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2564 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2565 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2634 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2635 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2676 dceip->max_average_percent_of_ideal_port_bw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2677 dceip->max_average_percent_of_ideal_drambw_display_can_use_in_normal_system_operation = 100; in bw_calcs_init()
2678 dceip->percent_of_ideal_port_bw_received_after_urgent_latency = 100; in bw_calcs_init()
2747 dceip->dispclk_ramping_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()
2748 dceip->display_pipe_throughput_factor = bw_frc_to_fixed(105, 100); in bw_calcs_init()