Searched refs:dc_fixpt_ceil (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn201/ |
D | dcn201_dpp.c | 219 if (dc_fixpt_ceil(scl_data->ratios.horz) > 4) in dpp201_get_optimal_number_of_taps() 227 if (dc_fixpt_ceil(scl_data->ratios.vert) > 4) in dpp201_get_optimal_number_of_taps() 234 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 4) in dpp201_get_optimal_number_of_taps() 241 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 4) in dpp201_get_optimal_number_of_taps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp.c | 439 if (dc_fixpt_ceil(scl_data->ratios.horz) > 1) in dpp3_get_optimal_number_of_taps() 440 scl_data->taps.h_taps = min(2 * dc_fixpt_ceil(scl_data->ratios.horz), 8); in dpp3_get_optimal_number_of_taps() 446 if (dc_fixpt_ceil(scl_data->ratios.vert) > 1) in dpp3_get_optimal_number_of_taps() 447 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() 453 if (dc_fixpt_ceil(scl_data->ratios.vert_c) > 1) in dpp3_get_optimal_number_of_taps() 454 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() 460 if (dc_fixpt_ceil(scl_data->ratios.horz_c) > 1) in dpp3_get_optimal_number_of_taps() 461 scl_data->taps.h_taps_c = min(2 * dc_fixpt_ceil(scl_data->ratios.horz_c), 8); in dpp3_get_optimal_number_of_taps() 471 min_taps_y = dc_fixpt_ceil(scl_data->ratios.vert); in dpp3_get_optimal_number_of_taps() 472 min_taps_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp3_get_optimal_number_of_taps() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 77 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() 1145 return dc_fixpt_ceil(actual_bandwidth_in_kbps); in dc_dsc_stream_bandwidth_in_kbps() 1171 return dc_fixpt_ceil(max_dsc_overhead); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_audio.c | 375 …required_symbols_per_hblank *= ((dc_fixpt_ceil(symbols_per_sdp_max_layout) + av_stream_map_lane_co… in calculate_required_audio_bw_in_symbols() 378 if (num_sdp_with_max_layouts != dc_fixpt_ceil( in calculate_required_audio_bw_in_symbols() 385 required_symbols_per_hblank += ((dc_fixpt_ceil(remainder) + av_stream_map_lane_count) / in calculate_required_audio_bw_in_symbols()
|
D | dce_stream_encoder.c | 704 uint32_t y = dc_fixpt_ceil( in dce110_stream_encoder_set_throttled_vcp_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/ |
D | dcn10_dpp_dscl.c | 465 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 480 static inline int dc_fixpt_ceil(struct fixed31_32 arg) in dc_fixpt_ceil() function
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp_dscl.c | 481 int ceil_vratio = dc_fixpt_ceil(scl_data->ratios.vert); in dpp401_dscl_find_lb_memory_config() 482 int ceil_vratio_c = dc_fixpt_ceil(scl_data->ratios.vert_c); in dpp401_dscl_find_lb_memory_config()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hpo/dcn31/ |
D | dcn31_hpo_dp_link_encoder.c | 391 uint32_t y = dc_fixpt_ceil( in dcn31_hpo_dp_link_enc_set_throttled_vcp_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
D | dcn10_stream_encoder.c | 633 uint32_t y = dc_fixpt_ceil( in enc1_stream_encoder_set_throttled_vcp_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_resource.c | 776 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size() 777 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size() 778 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size() 779 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dpms.c | 1542 req_slot_count = dc_fixpt_ceil(avg_time_slots_per_mtp); in write_128b_132b_sst_payload_allocation_table()
|