dcn_bw_floor2 554 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_lb_latency_hiding_source_lines_luma =dcn_bw_min2(v->max_line_buffer_lines,dcn_bw_floor2(v->line_buffer_size / v->lb_bit_per_pixel[k] / (v->swath_width_yper_state[i][j][k] /dcn_bw_max2(v->h_ratio[k], 1.0)), 1.0)) - (v->vtaps[k] - 1.0); dcn_bw_floor2 555 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_lb_latency_hiding_source_lines_chroma =dcn_bw_min2(v->max_line_buffer_lines,dcn_bw_floor2(v->line_buffer_size / v->lb_bit_per_pixel[k] / (v->swath_width_yper_state[i][j][k] / 2.0 /dcn_bw_max2(v->h_ratio[k] / 2.0, 1.0)), 1.0)) - (v->vta_pschroma[k] - 1.0); dcn_bw_floor2 556 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_detlb_lines_luma =dcn_bw_floor2(v->lines_in_det_luma +dcn_bw_min2(v->lines_in_det_luma * v->required_dispclk[i][j] * v->byte_per_pixel_in_dety[k] * v->pscl_factor[k] / v->return_bw_per_state[i], v->effective_lb_latency_hiding_source_lines_luma), v->swath_height_yper_state[i][j][k]); dcn_bw_floor2 557 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_detlb_lines_chroma =dcn_bw_floor2(v->lines_in_det_chroma +dcn_bw_min2(v->lines_in_det_chroma * v->required_dispclk[i][j] * v->byte_per_pixel_in_detc[k] * v->pscl_factor_chroma[k] / v->return_bw_per_state[i], v->effective_lb_latency_hiding_source_lines_chroma), v->swath_height_cper_state[i][j][k]); dcn_bw_floor2 665 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->dpte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->viewport_width[k] / v->no_of_dpp[i][j][k] *dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_log(v->pte_buffer_size_in_requests * v->data_pte_req_width_y / (v->viewport_width[k] / v->no_of_dpp[i][j][k]), 2.0), 1.0))) - 1.0) / v->data_pte_req_width_y, 1.0) + 1); dcn_bw_floor2 726 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->dpte_bytes_per_row_c = 64.0 * (dcn_bw_ceil2((v->viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0 * dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_log(v->pte_buffer_size_in_requests * v->data_pte_req_width_c / (v->viewport_width[k] / v->no_of_dpp[i][j][k] / 2.0), 2.0), 1.0))) - 1.0) / v->data_pte_req_width_c, 1.0) + 1); dcn_bw_floor2 748 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->prefill_y[k] =dcn_bw_floor2(v->v_init_y, 1.0); dcn_bw_floor2 760 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->prefill_c[k] =dcn_bw_floor2(v->v_init_c, 1.0); dcn_bw_floor2 803 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->line_times_for_prefetch[k] =dcn_bw_floor2(4.0 * (v->line_times_for_prefetch[k] + 0.125), 1.0) / 4; dcn_bw_floor2 826 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_pte_without_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_pte_without_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 827 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_and_dpte_row_without_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_and_dpte_row_without_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 858 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_pte_with_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_pte_with_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 859 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_for_meta_and_dpte_row_with_immediate_flip[k] =dcn_bw_floor2(4.0 * (v->time_for_meta_and_dpte_row_with_immediate_flip / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 1343 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_in_dety_rounded_down_to_swath[k] =dcn_bw_floor2(v->lines_in_dety[k], v->swath_height_y[k]); dcn_bw_floor2 1347 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lines_in_detc_rounded_down_to_swath[k] =dcn_bw_floor2(v->lines_in_detc[k], v->swath_height_c[k]); dcn_bw_floor2 1423 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_det_plus_lb_lines_luma =dcn_bw_floor2(v->lines_in_dety[k] +dcn_bw_min2(v->lines_in_dety[k] * v->dppclk * v->byte_per_pixel_dety[k] * v->pscl_throughput[k] / (v->return_bw / v->dpp_per_plane[k]), v->effective_lb_latency_hiding_source_lines_luma), v->swath_height_y[k]); dcn_bw_floor2 1426 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->effective_det_plus_lb_lines_chroma =dcn_bw_floor2(v->lines_in_detc[k] +dcn_bw_min2(v->lines_in_detc[k] * v->dppclk * v->byte_per_pixel_detc[k] * v->pscl_throughput_chroma[k] / (v->return_bw / v->dpp_per_plane[k]), v->effective_lb_latency_hiding_source_lines_chroma), v->swath_height_c[k]); dcn_bw_floor2 1516 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->pixel_pte_bytes_per_row_y = 64.0 * (dcn_bw_ceil2((v->swath_width_y[k] *dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_log(v->pte_buffer_size_in_requests * v->pixel_pte_req_width_y / v->swath_width_y[k], 2.0), 1.0))) - 1.0) / v->pixel_pte_req_width_y, 1.0) + 1); dcn_bw_floor2 1575 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->pixel_pte_bytes_per_row_c = 64.0 * (dcn_bw_ceil2((v->swath_width_y[k] / 2.0 * dcn_bw_min2(128.0, dcn_bw_pow(2.0,dcn_bw_floor2(dcn_bw_log(v->pte_buffer_size_in_requests * v->pixel_pte_req_width_c / (v->swath_width_y[k] / 2.0), 2.0), 1.0))) - 1.0) / v->pixel_pte_req_width_c, 1.0) + 1); dcn_bw_floor2 1596 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_init_pre_fill_y[k] =dcn_bw_floor2((v->v_ratio[k] + v->vtaps[k] + 1.0 + v->interlace_output[k] * 0.5 * v->v_ratio[k]) / 2.0, 1.0); dcn_bw_floor2 1607 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->v_init_pre_fill_c[k] =dcn_bw_floor2((v->v_ratio[k] / 2.0 + v->vtaps[k] + 1.0 + v->interlace_output[k] * 0.5 * v->v_ratio[k] / 2.0) / 2.0, 1.0); dcn_bw_floor2 1668 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_for_prefetch[k] =dcn_bw_floor2(4.0 * (v->v_startup[k] - v->t_wait / (v->htotal[k] / v->pixel_clock[k]) - (v->t_calc + v->t_setup) / (v->htotal[k] / v->pixel_clock[k]) - (v->dsty_after_scaler + v->dstx_after_scaler / v->htotal[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 1699 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_to_request_vm_inv_blank[k] =dcn_bw_floor2(4.0 * (v->time_for_fetching_meta_pte / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 1711 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->destination_lines_to_request_row_in_vblank[k] =dcn_bw_floor2(4.0 * (v->time_for_fetching_row_in_vblank / (v->htotal[k] / v->pixel_clock[k]) + 0.125), 1.0) / 4; dcn_bw_floor2 1826 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lb_latency_hiding_source_lines_y =dcn_bw_min2(v->max_line_buffer_lines,dcn_bw_floor2(v->line_buffer_size / v->lb_bit_per_pixel[k] / (v->swath_width_y[k] /dcn_bw_max2(v->h_ratio[k], 1.0)), 1.0)) - (v->vtaps[k] - 1.0); dcn_bw_floor2 1827 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_auto.c v->lb_latency_hiding_source_lines_c =dcn_bw_min2(v->max_line_buffer_lines,dcn_bw_floor2(v->line_buffer_size / v->lb_bit_per_pixel[k] / (v->swath_width_y[k] / 2.0 /dcn_bw_max2(v->h_ratio[k] / 2.0, 1.0)), 1.0)) - (v->vta_pschroma[k] - 1.0); dcn_bw_floor2 83 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c float flr = dcn_bw_floor2(arg, 1); dcn_bw_floor2 90 drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.c float flr = dcn_bw_floor2(arg, significance); dcn_bw_floor2 75 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_floor2(a, granularity); dcn_bw_floor2 105 drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h return (double) dcn_bw_floor2(x, granularity); dcn_bw_floor2 33 drivers/gpu/drm/amd/display/dc/inc/dcn_calc_math.h float dcn_bw_floor2(const float arg, const float significance);