Home
last modified time | relevance | path

Searched refs:dc_fixpt_ceil (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_dpp.c209 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps()
217 if (dc_fixpt_ceil(scl_data->ratios.vert) > 4) in dpp201_get_optimal_number_of_taps()
224 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 4) in dpp201_get_optimal_number_of_taps()
231 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 4) in dpp201_get_optimal_number_of_taps()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c69 req_slot_count = dc_fixpt_ceil(avg_time_slots_per_mtp); in dp_fpga_hpo_enable_link_and_stream()
78 req_slot_count = dc_fixpt_ceil(avg_time_slots_per_mtp); in dp_fpga_hpo_enable_link_and_stream()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c406 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps()
407 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps()
413 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1) in dpp3_get_optimal_number_of_taps()
414 scl_data->taps.v_taps = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert, 2)), 8); in dpp3_get_optimal_number_of_taps()
420 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1) in dpp3_get_optimal_number_of_taps()
421 scl_data->taps.v_taps_c = min(dc_fixpt_ceil(dc_fixpt_mul_int(scl_data->ratios.vert_c, 2)), 8); in dpp3_get_optimal_number_of_taps()
427 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps()
428 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps()
438 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert); in dpp3_get_optimal_number_of_taps()
439 min_taps_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp3_get_optimal_number_of_taps()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c77 dc_fixpt_from_int(dc_fixpt_ceil(overhead_factor)), in apply_128b_132b_stream_overhead()
80 total_kbps = dc_fixpt_ceil( in apply_128b_132b_stream_overhead()
1101 return dc_fixpt_ceil(actual_bandwidth_in_kbps); in dc_dsc_stream_bandwidth_in_kbps()
1127 return dc_fixpt_ceil(max_dsc_overhead); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_dpp_dscl.c465 int ceil_vratio = dc_fixpt_ceil(scl_data->ratios.vert); in dpp1_dscl_find_lb_memory_config()
466 int ceil_vratio_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp1_dscl_find_lb_memory_config()
Ddcn10_stream_encoder.c633 uint32_t y = dc_fixpt_ceil( in enc1_stream_encoder_set_throttled_vcp_size()
/linux-6.6.21/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h480 static inline int dc_fixpt_ceil(struct fixed31_32 arg) in dc_fixpt_ceil() function
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hpo_dp_link_encoder.c391 uint32_t y = dc_fixpt_ceil( in dcn31_hpo_dp_link_enc_set_throttled_vcp_size()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c803 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size()
804 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size()
805 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
806 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddce_stream_encoder.c704 uint32_t y = dc_fixpt_ceil( in dce110_stream_encoder_set_throttled_vcp_size()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c1578 req_slot_count = dc_fixpt_ceil(avg_time_slots_per_mtp); in write_128b_132b_sst_payload_allocation_table()