Home
last modified time | relevance | path

Searched refs:swath_height_yper_state (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
H A Ddcn_calc_auto.c535 v->swath_height_yper_state[i][j][k] = v->max_swath_height_y[k]; in mode_support_and_system_configuration()
539 v->swath_height_yper_state[i][j][k] = v->min_swath_height_y[k]; in mode_support_and_system_configuration()
546 else if (v->swath_height_yper_state[i][j][k] <= v->swath_height_cper_state[i][j][k]) { in mode_support_and_system_configuration()
556 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]); in mode_support_and_system_configuration()
749 v->max_num_sw_y[k] =dcn_bw_ceil2((v->prefill_y[k] - 1.0) / v->swath_height_yper_state[i][j][k], 1.0) + 1; in mode_support_and_system_configuration()
751 v->max_partial_sw_y =dcn_bw_mod((v->prefill_y[k] - 2.0), v->swath_height_yper_state[i][j][k]); in mode_support_and_system_configuration()
754 v->max_partial_sw_y =dcn_bw_mod((v->prefill_y[k] + v->swath_height_yper_state[i][j][k] - 2.0), v->swath_height_yper_state[i][j][k]); in mode_support_and_system_configuration()
757 v->prefetch_lines_y[k] = v->max_num_sw_y[k] * v->swath_height_yper_state[i][j][k] + v->max_partial_sw_y; in mode_support_and_system_configuration()
864 if ((v->swath_height_yper_state[ in mode_support_and_system_configuration()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Ddcn_calc_auto.c535 v->swath_height_yper_state[i][j][k] = v->max_swath_height_y[k]; in mode_support_and_system_configuration()
539 v->swath_height_yper_state[i][j][k] = v->min_swath_height_y[k]; in mode_support_and_system_configuration()
546 else if (v->swath_height_yper_state[i][j][k] <= v->swath_height_cper_state[i][j][k]) { in mode_support_and_system_configuration()
555 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]); in mode_support_and_system_configuration()
749 v->max_num_sw_y[k] =dcn_bw_ceil2((v->prefill_y[k] - 1.0) / v->swath_height_yper_state[i][j][k], 1.0) + 1; in mode_support_and_system_configuration()
751 v->max_partial_sw_y =dcn_bw_mod((v->prefill_y[k] - 2.0), v->swath_height_yper_state[i][j][k]); in mode_support_and_system_configuration()
754 v->max_partial_sw_y =dcn_bw_mod((v->prefill_y[k] + v->swath_height_yper_state[i][j][k] - 2.0), v->swath_height_yper_state[i][j][k]); in mode_support_and_system_configuration()
757 v->prefetch_lines_y[k] = v->max_num_sw_y[k] * v->swath_height_yper_state[i][j][k] + v->max_partial_sw_y; in mode_support_and_system_configuration()
864 if ((v->swath_height_yper_state[ in mode_support_and_system_configuration()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h236 float swath_height_yper_state[number_of_states_plus_one + 1][1 + 1][number_of_planes_minus_one + 1]; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/
H A Ddcn_calcs.h236 float swath_height_yper_state[number_of_states_plus_one + 1][1 + 1][number_of_planes_minus_one + 1]; member

Completed in 13 milliseconds