Home
last modified time | relevance | path

Searched refs:h_scale_ratio (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c1193 ASSERT(param->h_scale_ratio.value); in hubp1_cursor_set_position()
1195 if (param->h_scale_ratio.value) in hubp1_cursor_set_position()
1198 param->h_scale_ratio)); in hubp1_cursor_set_position()
Ddcn10_hw_sequencer.c3388 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dcn10_set_cursor_position()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h432 struct fixed31_32 h_scale_ratio; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h398 struct bw_fixed h_scale_ratio[maximum_number_of_surfaces]; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c1010 ASSERT(param->h_scale_ratio.value); in hubp2_cursor_set_position()
1012 if (param->h_scale_ratio.value) in hubp2_cursor_set_position()
1015 param->h_scale_ratio)); in hubp2_cursor_set_position()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c394 data->h_scale_ratio[maximum_number_of_surfaces - 2] = bw_int_to_fixed(1); in calculate_bandwidth()
395 data->h_scale_ratio[maximum_number_of_surfaces - 1] = bw_int_to_fixed(1); in calculate_bandwidth()
420 …if (bw_equ(data->h_scale_ratio[i], bw_int_to_fixed(1)) && bw_equ(data->v_scale_ratio[i], bw_int_to… in calculate_bandwidth()
428 data->hsr_after_surface_type = bw_div(data->h_scale_ratio[i], bw_int_to_fixed(2)); in calculate_bandwidth()
435 data->hsr_after_surface_type = data->h_scale_ratio[i]; in calculate_bandwidth()
2804 …data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.h… in populate_initial_data()
2859 data->h_scale_ratio[num_displays * 2 + j] = fixed31_32_to_bw_fixed( in populate_initial_data()
2906 …data->h_scale_ratio[num_displays + 4] = fixed31_32_to_bw_fixed(pipe[i].plane_res.scl_data.ratios.h… in populate_initial_data()
2957 …data->h_scale_ratio[num_displays + 4] = bw_frc_to_fixed(pipe[i].stream->src.width, pipe[i].stream-… in populate_initial_data()
2967 data->h_scale_ratio[num_displays + 4] = bw_int_to_fixed(1); in populate_initial_data()
Dcalcs_logger.h432 …DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] h_scale_ratio[%d]:%d", i, bw_fixed_to_int(data->h_scale_ratio[… in print_bw_calcs_data()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c2751 .h_scale_ratio = pipe_ctx->plane_res.scl_data.ratios.horz, in dce110_set_cursor_position()