Home
last modified time | relevance | path

Searched refs:dc_fixpt_mul_int (Results 1 – 17 of 17) sorted by relevance

/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c480 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in compute_dsc_max_bandwidth_overhead()
483 max_dsc_overhead = dc_fixpt_mul_int(max_dsc_overhead, timing->v_total); in compute_dsc_max_bandwidth_overhead()
484 max_dsc_overhead = dc_fixpt_mul_int(max_dsc_overhead, 256); in compute_dsc_max_bandwidth_overhead()
507 bpp_x16 = dc_fixpt_mul_int(effective_bandwidth_in_kbps, 10); in compute_bpp_x16_from_target_bandwidth()
509 bpp_x16 = dc_fixpt_from_int(dc_fixpt_floor(dc_fixpt_mul_int(bpp_x16, bpp_increment_div))); in compute_bpp_x16_from_target_bandwidth()
511 bpp_x16 = dc_fixpt_mul_int(bpp_x16, 16); in compute_bpp_x16_from_target_bandwidth()
/drivers/gpu/drm/amd/display/dc/basics/
Dconversion.c51 dc_fixpt_mul_int( in fixed_point_to_int_frac()
Dfixpt31_32.c243 dc_fixpt_mul_int( in dc_fixpt_sinc()
358 dc_fixpt_mul_int( in dc_fixpt_exp()
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dwb_scl.c766 tmp_h_init_phase_chroma = dc_fixpt_mul_int(tmp_h_ratio_luma, 2); in dwb_program_horz_scalar()
844 tmp_v_init_phase_chroma = dc_fixpt_mul_int(tmp_v_ratio_luma, 2); in dwb_program_vert_scalar()
Ddcn20_resource.c1911 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1913 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1925 sd->viewport.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1927 sd->viewport_c.width -= dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1930 sd->viewport.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
1932 sd->viewport_c.x += dc_fixpt_floor(dc_fixpt_mul_int( in dcn20_split_stream_for_odm()
/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c1283 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1285 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1287 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1290 pwl_rgb[i].r = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1292 pwl_rgb[i].g = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
1294 pwl_rgb[i].b = dc_fixpt_sub(dc_fixpt_mul_int( in scale_gamma_dx()
/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h308 static inline struct fixed31_32 dc_fixpt_mul_int(struct fixed31_32 arg1, int arg2) in dc_fixpt_mul_int() function
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clock_source.c686 ss_nslip_amount = dc_fixpt_mul_int(ss_nslip_amount, 10); in calculate_ss()
691 ss_ds_frac_amount = dc_fixpt_mul_int(ss_ds_frac_amount, 65536); in calculate_ss()
706 ss_step_size = dc_fixpt_mul_int(ss_step_size, 65536 * 10); in calculate_ss()
Ddce_clk_mgr.c142 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in clk_mgr_adjust_dp_ref_freq_for_ss()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_resource.c723 data->viewport.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz, data->recout.width)); in calculate_viewport_size()
724 data->viewport.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert, data->recout.height)); in calculate_viewport_size()
725 data->viewport_c.width = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.horz_c, data->recout.width)); in calculate_viewport_size()
726 …data->viewport_c.height = dc_fixpt_ceil(dc_fixpt_mul_int(data->ratios.vert_c, data->recout.height)… in calculate_viewport_size()
887 temp = dc_fixpt_mul_int(ratio, recout_offset_within_recout_full); in calculate_init_and_vp()
910 temp = dc_fixpt_add(*init, dc_fixpt_mul_int(ratio, recout_size - 1)); in calculate_init_and_vp()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c123 adj_dp_ref_clk_khz = dc_fixpt_mul_int(ss_percentage, dp_ref_clk_khz); in dce_adjust_dp_ref_freq_for_ss()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c565 pll_req = dc_fixpt_mul_int(pll_req, 100000); in dcn20_clk_mgr_construct()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_dpp.c408 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()
415 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()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
Ddcn30_clk_mgr.c238 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn30_get_vco_frequency_from_reg()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
Ddcn31_clk_mgr.c275 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
Dvg_clk_mgr.c210 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
Drn_clk_mgr.c272 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()