Lines Matching refs:dceip

76 	const struct bw_calcs_dceip *dceip,  in calculate_bandwidth()  argument
189 data->lb_size_per_component[0] = dceip->underlay420_luma_lb_size_per_component; in calculate_bandwidth()
190 data->lb_size_per_component[1] = dceip->underlay420_chroma_lb_size_per_component; in calculate_bandwidth()
191 data->lb_size_per_component[2] = dceip->underlay420_luma_lb_size_per_component; in calculate_bandwidth()
192 data->lb_size_per_component[3] = dceip->underlay420_chroma_lb_size_per_component; in calculate_bandwidth()
199 data->lb_size_per_component[0] = dceip->underlay422_lb_size_per_component; in calculate_bandwidth()
200 data->lb_size_per_component[2] = dceip->underlay422_lb_size_per_component; in calculate_bandwidth()
207 data->lb_size_per_component[0] = dceip->lb_size_per_component444; in calculate_bandwidth()
208 data->lb_size_per_component[2] = dceip->lb_size_per_component444; in calculate_bandwidth()
337 data->lb_size_per_component[i] = dceip->lb_size_per_component444; in calculate_bandwidth()
345 …if ((data->fbc_en[i] == 1 && (dceip->argb_compression_support || data->d0_underlay_mode != bw_def_… in calculate_bandwidth()
374 …data->lb_size_per_component[maximum_number_of_surfaces - 2] = dceip->underlay420_luma_lb_size_per_… in calculate_bandwidth()
375 …data->lb_size_per_component[maximum_number_of_surfaces - 1] = dceip->underlay420_chroma_lb_size_pe… in calculate_bandwidth()
510 …if (dceip->number_of_graphics_pipes >= data->number_of_displays && dceip->number_of_underlay_pipes… in calculate_bandwidth()
528 …if (dceip->pre_downscaler_enabled == 1 && bw_mtn(data->hsr[i], bw_int_to_fixed(1)) && bw_leq(data-… in calculate_bandwidth()
554 if ((dceip->pre_downscaler_enabled && bw_mtn(data->hsr[i], bw_int_to_fixed(1)))) { in calculate_bandwidth()
573 …if ((surface_type[i] != bw_def_graphics || dceip->graphics_lb_nodownscaling_multi_line_prefetching… in calculate_bandwidth()
620 if (dceip->low_power_tiling_mode == 0) { in calculate_bandwidth()
623 else if (dceip->low_power_tiling_mode == 1) { in calculate_bandwidth()
626 else if (dceip->low_power_tiling_mode == 2) { in calculate_bandwidth()
682 …data->underlay_maximum_source_efficient_for_tiling = dceip->underlay_maximum_height_efficient_for_… in calculate_bandwidth()
685 …data->underlay_maximum_source_efficient_for_tiling = dceip->underlay_maximum_width_efficient_for_t… in calculate_bandwidth()
819 …else if ((((dceip->underlay_downscale_prefetch_enabled == 1 && surface_type[i] != bw_def_graphics)… in calculate_bandwidth()
825 …ing_of_frame[i] = bw_div(bw_ceil2(data->v_filter_init[i], bw_int_to_fixed(dceip->lines_interleaved… in calculate_bandwidth()
851 …>h_total[i], bw_div((bw_sub(data->source_width_pixels[i], bw_int_to_fixed(dceip->chunk_width))), d… in calculate_bandwidth()
874 …if ((dceip->dmif_pipe_en_fbc_chunk_tracker + 3 == i && fbc_enabled == 0 && tiling_mode[i] != bw_de… in calculate_bandwidth()
889 … data->data_buffer_size[i] = bw_int_to_fixed(dceip->display_write_back420_luma_mcifwr_buffer_size); in calculate_bandwidth()
892 …data->data_buffer_size[i] = bw_int_to_fixed(dceip->display_write_back420_chroma_mcifwr_buffer_size… in calculate_bandwidth()
895 data->data_buffer_size[i] = bw_int_to_fixed(dceip->underlay_luma_dmif_size); in calculate_bandwidth()
898 …data->data_buffer_size[i] = bw_div(bw_int_to_fixed(dceip->underlay_chroma_dmif_size), bw_int_to_fi… in calculate_bandwidth()
902 data->data_buffer_size[i] = bw_int_to_fixed(dceip->underlay_luma_dmif_size); in calculate_bandwidth()
905 …ta->data_buffer_size[i] = bw_add(bw_int_to_fixed(dceip->underlay_luma_dmif_size), bw_int_to_fixed( in calculate_bandwidth()
912 …a->bytes_per_pixel[i])), bw_mul(bw_int_to_fixed(dceip->max_dmif_buffer_allocated), bw_int_to_fixed… in calculate_bandwidth()
915 …_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_int_to_fixed(dceip->graphics_dmif_siz… in calculate_bandwidth()
921 …a->bytes_per_pixel[i])), bw_mul(bw_int_to_fixed(dceip->max_dmif_buffer_allocated), bw_int_to_fixed… in calculate_bandwidth()
924 …_per_chunk)), bw_int_to_fixed(data->bytes_per_pixel[i])), bw_int_to_fixed(dceip->graphics_dmif_siz… in calculate_bandwidth()
934 …data->memory_chunk_size_in_bytes[i] = bw_mul(bw_mul(bw_int_to_fixed(dceip->chunk_width), data->lin… in calculate_bandwidth()
935 …chunk_size_in_bytes[i] = bw_mul(bw_mul(bw_int_to_fixed(dceip->chunk_width), bw_int_to_fixed(dceip-… in calculate_bandwidth()
963 …chroma && dceip->limit_excessive_outstanding_dmif_requests && (data->number_of_displays > 1 || bw_… in calculate_bandwidth()
996 …data->peak_pte_request_to_eviction_ratio_limiting = dceip->peak_pte_request_to_eviction_ratio_limi… in calculate_bandwidth()
999 …data->peak_pte_request_to_eviction_ratio_limiting = dceip->peak_pte_request_to_eviction_ratio_limi… in calculate_bandwidth()
1008 …data->scatter_gather_row_height = bw_int_to_fixed(dceip->scatter_gather_lines_of_pte_prefetching_i… in calculate_bandwidth()
1026 …data->scatter_gather_pte_request_rows = bw_int_to_fixed(dceip->scatter_gather_pte_request_rows_in_… in calculate_bandwidth()
1045 …data->scatter_gather_pte_request_rows = bw_int_to_fixed(dceip->scatter_gather_pte_request_rows_in_… in calculate_bandwidth()
1048 …data->pte_request_per_chunk[i] = bw_div(bw_div(bw_int_to_fixed(dceip->chunk_width), data->scatter_… in calculate_bandwidth()
1049 …bw_mul(bw_div(data->source_width_rounded_up_to_chunks[i], bw_int_to_fixed(dceip->chunk_width)), da… in calculate_bandwidth()
1055 …data->scatter_gather_pte_request_limit[i] = bw_max2(dceip->minimum_outstanding_pte_request_limit, … in calculate_bandwidth()
1090 if (dceip->large_cursor == 1) { in calculate_bandwidth()
1091 …quest_groups = bw_add(data->cursor_total_request_groups, bw_int_to_fixed((dceip->cursor_max_outsta… in calculate_bandwidth()
1094 …ursor_total_request_groups, bw_ceil2(bw_div(data->cursor_width_pixels[i], dceip->cursor_chunk_widt… in calculate_bandwidth()
1111 data->bytes_per_page_close_open = dceip->linear_mode_line_request_alternation_slice; in calculate_bandwidth()
1139 …ps = bw_ceil2(bw_div(data->total_requests_for_adjusted_dmif_size, (bw_add(dceip->dmif_request_buff… in calculate_bandwidth()
1190 …_filter_init[i], bw_int_to_fixed(dceip->lines_interleaved_into_lb)), bw_mul(bw_ceil2(data->vsr[i],… in calculate_bandwidth()
1191 …up_to_chunks[i], bw_max2(bw_ceil2(data->v_filter_init[i], bw_int_to_fixed(dceip->lines_interleaved… in calculate_bandwidth()
1197 …a, (bw_mul(bw_mul(sclk[j], vbios->data_return_bus_width), bw_frc_to_fixed(dceip->percent_of_ideal_… in calculate_bandwidth()
1210 …th_rounded_up_to_chunks[i], (bw_div(dceip->lb_write_pixels_per_dispclk, (bw_div(vbios->low_voltage… in calculate_bandwidth()
1220 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency6_bit_per_component; in calculate_bandwidth()
1223 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency8_bit_per_component; in calculate_bandwidth()
1226 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency10_bit_per_component; in calculate_bandwidth()
1229 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency12_bit_per_component; in calculate_bandwidth()
1233 … data->v_scaler_efficiency = bw_min2(data->v_scaler_efficiency, dceip->alpha_vscaler_efficiency); in calculate_bandwidth()
1239 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency6_bit_per_component; in calculate_bandwidth()
1242 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency8_bit_per_component; in calculate_bandwidth()
1245 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency10_bit_per_component; in calculate_bandwidth()
1252 if (dceip->pre_downscaler_enabled && bw_mtn(data->hsr[i], bw_int_to_fixed(1))) { in calculate_bandwidth()
1296 …if ((bw_equ(dceip->stutter_and_dram_clock_state_change_gated_before_cursor, bw_int_to_fixed(0)) &&… in calculate_bandwidth()
1298 …data->cursor_latency_hiding[i] = bw_div(bw_div(bw_mul((bw_sub(dceip->cursor_dcp_buffer_lines, bw_i… in calculate_bandwidth()
1301 …data->cursor_latency_hiding[i] = bw_div(bw_div(bw_mul((bw_sub(dceip->cursor_dcp_buffer_lines, bw_i… in calculate_bandwidth()
1311 …if (dceip->graphics_lb_nodownscaling_multi_line_prefetching == 1 && (bw_equ(data->vsr[i], bw_int_t… in calculate_bandwidth()
1332dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(data->… in calculate_bandwidth()
1342dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw_sub… in calculate_bandwidth()
1397dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw_sub… in calculate_bandwidth()
1411dceip->display_pipe_throughput_factor), dceip->lb_write_pixels_per_dispclk), (bw_sub(bw_sub(bw_sub… in calculate_bandwidth()
1507 if (bw_leq(data->cursor_width_pixels[i], bw_int_to_fixed(64)) && dceip->large_cursor == 1) { in calculate_bandwidth()
1531 …if (bw_mtn(data->scatter_gather_total_pte_requests, dceip->maximum_total_outstanding_pte_requests_… in calculate_bandwidth()
1545 …al_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_perce… in calculate_bandwidth()
1551 …al_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_perce… in calculate_bandwidth()
1557 …al_average_bandwidth_no_compression, bw_mul(bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_average_perce… in calculate_bandwidth()
1574 …for_data_transfer), (bw_mul(vbios->data_return_bus_width, bw_frc_to_fixed(dceip->percent_of_ideal_… in calculate_bandwidth()
1576 …if (bw_mtn(data->scatter_gather_total_pte_requests, dceip->maximum_total_outstanding_pte_requests_… in calculate_bandwidth()
1588 …if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip->max_… in calculate_bandwidth()
1594 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1600 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1606 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1612 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1618 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1624 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1630 …else if (bw_ltn(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1636 …else if (bw_meq(data->total_average_bandwidth_no_compression, bw_mul(bw_mul(bw_frc_to_fixed(dceip-… in calculate_bandwidth()
1668 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency6_bit_per_component; in calculate_bandwidth()
1671 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency8_bit_per_component; in calculate_bandwidth()
1674 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency10_bit_per_component; in calculate_bandwidth()
1677 data->v_scaler_efficiency = dceip->graphics_vscaler_efficiency12_bit_per_component; in calculate_bandwidth()
1681 … data->v_scaler_efficiency = bw_min2(data->v_scaler_efficiency, dceip->alpha_vscaler_efficiency); in calculate_bandwidth()
1687 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency6_bit_per_component; in calculate_bandwidth()
1690 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency8_bit_per_component; in calculate_bandwidth()
1693 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency10_bit_per_component; in calculate_bandwidth()
1696 data->v_scaler_efficiency = dceip->underlay_vscaler_efficiency12_bit_per_component; in calculate_bandwidth()
1700 if (dceip->pre_downscaler_enabled && bw_mtn(data->hsr[i], bw_int_to_fixed(1))) { in calculate_bandwidth()
1706 …unded_up_to_chunks[i]), (bw_div(data->h_total[i], data->pixel_rate[i]))), dceip->lb_write_pixels_p… in calculate_bandwidth()
1707 …, bw_max2(bw_mul(data->pixel_rate[i], data->scaler_limits_factor), bw_mul(dceip->display_pipe_thro… in calculate_bandwidth()
1708 …data->dispclk_required_with_ramping[i] = bw_mul(dceip->dispclk_ramping_factor, bw_max2(bw_mul(data… in calculate_bandwidth()
1735 …dwidth = bw_div(bw_mul(data->total_read_request_bandwidth, dceip->dispclk_per_request), dceip->req… in calculate_bandwidth()
1863dceip->lb_write_pixels_per_dispclk), (bw_div(data->dispclk, dceip->display_pipe_throughput_factor)… in calculate_bandwidth()
1984 …data->latency_for_non_mcifwr_clients = bw_add(vbios->mcifwrmc_urgent_latency, dceip->mcifwr_all_su… in calculate_bandwidth()
2005 …nd_urgent_latency), (bw_mul(vbios->data_return_bus_width, bw_frc_to_fixed(dceip->percent_of_ideal_… in calculate_bandwidth()
2047 struct bw_calcs_dceip *dceip; in bw_calcs_init() local
2052 dceip = kzalloc(sizeof(*dceip), GFP_KERNEL); in bw_calcs_init()
2053 if (!dceip) in bw_calcs_init()
2058 kfree(dceip); in bw_calcs_init()
2062 dceip->version = version; 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()
2105 dceip->large_cursor = false; in bw_calcs_init()
2106 dceip->dmif_request_buffer_size = bw_int_to_fixed(768); in bw_calcs_init()
2107 dceip->dmif_pipe_en_fbc_chunk_tracker = false; in bw_calcs_init()
2108 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2109 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2110 dceip->chunk_width = 256; in bw_calcs_init()
2111 dceip->number_of_graphics_pipes = 3; in bw_calcs_init()
2112 dceip->number_of_underlay_pipes = 1; in bw_calcs_init()
2113 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2114 dceip->display_write_back_supported = false; in bw_calcs_init()
2115 dceip->argb_compression_support = false; in bw_calcs_init()
2116 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2118 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2120 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2122 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2124 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2126 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2128 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2130 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2132 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2133 dceip->max_dmif_buffer_allocated = 2; in bw_calcs_init()
2134 dceip->graphics_dmif_size = 12288; in bw_calcs_init()
2135 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2136 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2137 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2138 dceip->underlay_downscale_prefetch_enabled = true; in bw_calcs_init()
2139 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2140 dceip->lb_size_per_component444 = bw_int_to_fixed(82176); in bw_calcs_init()
2141 dceip->graphics_lb_nodownscaling_multi_line_prefetching = false; in bw_calcs_init()
2142 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2144 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2146 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2148 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2150 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2151 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2152 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2154 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2156 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2158 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2160 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2162 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2164 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2165 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2167 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2169 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2170 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2171 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2172 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2175 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2176 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); /* todo: this is a bug*/ 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()
2221 dceip->large_cursor = false; in bw_calcs_init()
2222 dceip->dmif_request_buffer_size = bw_int_to_fixed(768); in bw_calcs_init()
2223 dceip->dmif_pipe_en_fbc_chunk_tracker = false; in bw_calcs_init()
2224 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2225 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2226 dceip->chunk_width = 256; in bw_calcs_init()
2227 dceip->number_of_graphics_pipes = 6; in bw_calcs_init()
2228 dceip->number_of_underlay_pipes = 0; in bw_calcs_init()
2229 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2230 dceip->display_write_back_supported = false; in bw_calcs_init()
2231 dceip->argb_compression_support = true; in bw_calcs_init()
2232 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2234 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2236 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2238 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2240 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2242 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2244 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2246 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2248 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2249 dceip->max_dmif_buffer_allocated = 4; in bw_calcs_init()
2250 dceip->graphics_dmif_size = 12288; in bw_calcs_init()
2251 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2252 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2253 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2254 dceip->underlay_downscale_prefetch_enabled = true; in bw_calcs_init()
2255 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2256 dceip->lb_size_per_component444 = bw_int_to_fixed(245952); in bw_calcs_init()
2257 dceip->graphics_lb_nodownscaling_multi_line_prefetching = true; in bw_calcs_init()
2258 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2260 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2262 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2264 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2266 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2267 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2268 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2270 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2272 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2274 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2276 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2278 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2280 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2281 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2283 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2285 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2286 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2287 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2288 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2291 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2292 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); 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()
2337 dceip->large_cursor = false; in bw_calcs_init()
2338 dceip->dmif_request_buffer_size = bw_int_to_fixed(768); in bw_calcs_init()
2339 dceip->dmif_pipe_en_fbc_chunk_tracker = false; in bw_calcs_init()
2340 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2341 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2342 dceip->chunk_width = 256; in bw_calcs_init()
2343 dceip->number_of_graphics_pipes = 5; in bw_calcs_init()
2344 dceip->number_of_underlay_pipes = 0; in bw_calcs_init()
2345 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2346 dceip->display_write_back_supported = false; in bw_calcs_init()
2347 dceip->argb_compression_support = true; in bw_calcs_init()
2348 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2350 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2352 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2354 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2356 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2358 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2360 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2362 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2364 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2365 dceip->max_dmif_buffer_allocated = 4; in bw_calcs_init()
2366 dceip->graphics_dmif_size = 12288; in bw_calcs_init()
2367 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2368 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2369 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2370 dceip->underlay_downscale_prefetch_enabled = true; in bw_calcs_init()
2371 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2372 dceip->lb_size_per_component444 = bw_int_to_fixed(245952); in bw_calcs_init()
2373 dceip->graphics_lb_nodownscaling_multi_line_prefetching = true; in bw_calcs_init()
2374 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2376 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2378 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2380 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2382 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2383 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2384 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2386 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2388 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2390 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2392 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2394 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2396 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2397 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2399 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2401 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2402 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2403 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2404 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2407 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2408 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); 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()
2453 dceip->large_cursor = false; in bw_calcs_init()
2454 dceip->dmif_request_buffer_size = bw_int_to_fixed(768); in bw_calcs_init()
2455 dceip->dmif_pipe_en_fbc_chunk_tracker = false; in bw_calcs_init()
2456 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2457 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2458 dceip->chunk_width = 256; in bw_calcs_init()
2459 dceip->number_of_graphics_pipes = 5; in bw_calcs_init()
2460 dceip->number_of_underlay_pipes = 0; in bw_calcs_init()
2461 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2462 dceip->display_write_back_supported = true; in bw_calcs_init()
2463 dceip->argb_compression_support = true; in bw_calcs_init()
2464 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2466 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2468 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2470 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2472 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2474 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2476 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2478 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2480 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2481 dceip->max_dmif_buffer_allocated = 4; in bw_calcs_init()
2482 dceip->graphics_dmif_size = 12288; in bw_calcs_init()
2483 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2484 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2485 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2486 dceip->underlay_downscale_prefetch_enabled = true; in bw_calcs_init()
2487 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2488 dceip->lb_size_per_component444 = bw_int_to_fixed(245952); in bw_calcs_init()
2489 dceip->graphics_lb_nodownscaling_multi_line_prefetching = true; in bw_calcs_init()
2490 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2492 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2494 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2496 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2498 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2499 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2500 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2502 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2504 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2506 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2508 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2510 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2512 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2513 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2515 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2517 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2518 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2519 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2520 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2523 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2524 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); 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()
2566 dceip->large_cursor = false; in bw_calcs_init()
2567 dceip->dmif_request_buffer_size = bw_int_to_fixed(768); in bw_calcs_init()
2568 dceip->dmif_pipe_en_fbc_chunk_tracker = false; in bw_calcs_init()
2569 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2570 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2571 dceip->chunk_width = 256; in bw_calcs_init()
2572 dceip->number_of_graphics_pipes = 2; in bw_calcs_init()
2573 dceip->number_of_underlay_pipes = 1; in bw_calcs_init()
2574 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2575 dceip->display_write_back_supported = false; in bw_calcs_init()
2576 dceip->argb_compression_support = true; in bw_calcs_init()
2577 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2579 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2581 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2583 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2585 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2587 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2589 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2591 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2593 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2594 dceip->max_dmif_buffer_allocated = 2; in bw_calcs_init()
2595 dceip->graphics_dmif_size = 12288; in bw_calcs_init()
2596 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2597 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2598 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2599 dceip->underlay_downscale_prefetch_enabled = true; in bw_calcs_init()
2600 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2601 dceip->lb_size_per_component444 = bw_int_to_fixed(82176); in bw_calcs_init()
2602 dceip->graphics_lb_nodownscaling_multi_line_prefetching = false; in bw_calcs_init()
2603 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2605 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2607 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2609 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2611 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2612 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2613 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2615 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2617 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2619 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2621 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2623 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2625 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2626 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2628 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2630 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2631 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2632 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2633 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2636 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2637 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); 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()
2679 dceip->large_cursor = false; in bw_calcs_init()
2680 dceip->dmif_request_buffer_size = bw_int_to_fixed(2304); in bw_calcs_init()
2681 dceip->dmif_pipe_en_fbc_chunk_tracker = true; in bw_calcs_init()
2682 dceip->cursor_max_outstanding_group_num = 1; in bw_calcs_init()
2683 dceip->lines_interleaved_into_lb = 2; in bw_calcs_init()
2684 dceip->chunk_width = 256; in bw_calcs_init()
2685 dceip->number_of_graphics_pipes = 6; in bw_calcs_init()
2686 dceip->number_of_underlay_pipes = 0; in bw_calcs_init()
2687 dceip->low_power_tiling_mode = 0; in bw_calcs_init()
2688 dceip->display_write_back_supported = true; in bw_calcs_init()
2689 dceip->argb_compression_support = true; in bw_calcs_init()
2690 dceip->underlay_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2692 dceip->underlay_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2694 dceip->underlay_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2696 dceip->underlay_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2698 dceip->graphics_vscaler_efficiency6_bit_per_component = in bw_calcs_init()
2700 dceip->graphics_vscaler_efficiency8_bit_per_component = in bw_calcs_init()
2702 dceip->graphics_vscaler_efficiency10_bit_per_component = in bw_calcs_init()
2704 dceip->graphics_vscaler_efficiency12_bit_per_component = in bw_calcs_init()
2706 dceip->alpha_vscaler_efficiency = bw_int_to_fixed(3); in bw_calcs_init()
2707 dceip->max_dmif_buffer_allocated = 4; in bw_calcs_init()
2708 dceip->graphics_dmif_size = 24576; in bw_calcs_init()
2709 dceip->underlay_luma_dmif_size = 19456; in bw_calcs_init()
2710 dceip->underlay_chroma_dmif_size = 23552; in bw_calcs_init()
2711 dceip->pre_downscaler_enabled = true; in bw_calcs_init()
2712 dceip->underlay_downscale_prefetch_enabled = false; in bw_calcs_init()
2713 dceip->lb_write_pixels_per_dispclk = bw_int_to_fixed(1); in bw_calcs_init()
2714 dceip->lb_size_per_component444 = bw_int_to_fixed(245952); in bw_calcs_init()
2715 dceip->graphics_lb_nodownscaling_multi_line_prefetching = true; in bw_calcs_init()
2716 dceip->stutter_and_dram_clock_state_change_gated_before_cursor = in bw_calcs_init()
2718 dceip->underlay420_luma_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2720 dceip->underlay420_chroma_lb_size_per_component = in bw_calcs_init()
2722 dceip->underlay422_lb_size_per_component = bw_int_to_fixed( in bw_calcs_init()
2724 dceip->cursor_chunk_width = bw_int_to_fixed(64); in bw_calcs_init()
2725 dceip->cursor_dcp_buffer_lines = bw_int_to_fixed(4); in bw_calcs_init()
2726 dceip->underlay_maximum_width_efficient_for_tiling = in bw_calcs_init()
2728 dceip->underlay_maximum_height_efficient_for_tiling = in bw_calcs_init()
2730 dceip->peak_pte_request_to_eviction_ratio_limiting_multiple_displays_or_single_rotated_display = in bw_calcs_init()
2732 dceip->peak_pte_request_to_eviction_ratio_limiting_single_display_no_rotation = in bw_calcs_init()
2734 dceip->minimum_outstanding_pte_request_limit = bw_int_to_fixed( in bw_calcs_init()
2736 dceip->maximum_total_outstanding_pte_requests_allowed_by_saw = in bw_calcs_init()
2738 dceip->limit_excessive_outstanding_dmif_requests = true; in bw_calcs_init()
2739 dceip->linear_mode_line_request_alternation_slice = in bw_calcs_init()
2741 dceip->scatter_gather_lines_of_pte_prefetching_in_linear_mode = in bw_calcs_init()
2743 dceip->display_write_back420_luma_mcifwr_buffer_size = 12288; in bw_calcs_init()
2744 dceip->display_write_back420_chroma_mcifwr_buffer_size = 8192; in bw_calcs_init()
2745 dceip->request_efficiency = bw_frc_to_fixed(8, 10); in bw_calcs_init()
2746 dceip->dispclk_per_request = bw_int_to_fixed(2); 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()
2749 dceip->scatter_gather_pte_request_rows_in_tiling_mode = 2; in bw_calcs_init()
2750 dceip->mcifwr_all_surfaces_burst_time = bw_int_to_fixed(0); in bw_calcs_init()
2755 *bw_dceip = *dceip; in bw_calcs_init()
2758 kfree(dceip); in bw_calcs_init()
3042 const struct bw_calcs_dceip *dceip, in bw_calcs() argument
3075 print_bw_calcs_dceip(ctx, dceip); in bw_calcs()
3079 calculate_bandwidth(dceip, vbios, data); in bw_calcs()
3229 if (dceip->version != BW_CALCS_VERSION_CARRIZO) { in bw_calcs()
3233 calculate_bandwidth(dceip, vbios, data); in bw_calcs()
3354 calculate_bandwidth(dceip, vbios, data); in bw_calcs()
3468 if (dceip->version == BW_CALCS_VERSION_CARRIZO) { in bw_calcs()
3485 calculate_bandwidth(dceip, vbios, data); in bw_calcs()