Home
last modified time | relevance | path

Searched refs:bpp_x16 (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c578 struct fixed31_32 bpp_x16; in compute_bpp_x16_from_target_bandwidth() local
585 bpp_x16 = dc_fixpt_mul_int(effective_bandwidth_in_kbps, 10); in compute_bpp_x16_from_target_bandwidth()
586 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth()
587 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()
588 bpp_x16 = dc_fixpt_div_int(bpp_x16, bpp_increment_div); in compute_bpp_x16_from_target_bandwidth()
589 bpp_x16 = dc_fixpt_mul_int(bpp_x16, 16); in compute_bpp_x16_from_target_bandwidth()
590 return dc_fixpt_floor(bpp_x16); in compute_bpp_x16_from_target_bandwidth()
1089 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp) in dc_dsc_stream_bandwidth_in_kbps() argument
1097 bpp = dc_fixpt_from_fraction(bpp_x16, 16); in dc_dsc_stream_bandwidth_in_kbps()
/linux-6.6.21/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.h78 int bpp_x16; member
Damdgpu_dm_mst_types.c838 params[i].timing->dsc_cfg.bits_per_pixel = vars[i + k].bpp_x16; in set_dsc_configs_from_fairness_vars()
954 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
975 vars[next_index].bpp_x16 = params[next_index].bw_range.max_target_bpp_x16; in increase_dsc_bpp()
1011 && vars[i + k].bpp_x16 == params[i].bw_range.max_target_bpp_x16 in try_disable_dsc()
1048 vars[next_index].bpp_x16 = 0; in try_disable_dsc()
1146 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
1165 vars[i + k].bpp_x16 = params[i].bw_range.min_target_bpp_x16; in compute_mst_dsc_configs_for_link()
1173 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dsc.h89 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp);