Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/dc/dsc/
H A 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()
1094 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp) in dc_dsc_stream_bandwidth_in_kbps() argument
1102 bpp = dc_fixpt_from_fraction(bpp_x16, 16); in dc_dsc_stream_bandwidth_in_kbps()
/openbsd/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.h78 int bpp_x16; member
H A Damdgpu_dm_mst_types.c841 params[i].timing->dsc_cfg.bits_per_pixel = vars[i + k].bpp_x16; in set_dsc_configs_from_fairness_vars()
957 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
978 vars[next_index].bpp_x16 = params[next_index].bw_range.max_target_bpp_x16; in increase_dsc_bpp()
1014 && vars[i + k].bpp_x16 == params[i].bw_range.max_target_bpp_x16 in try_disable_dsc()
1051 vars[next_index].bpp_x16 = 0; in try_disable_dsc()
1149 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
1168 vars[i + k].bpp_x16 = params[i].bw_range.min_target_bpp_x16; in compute_mst_dsc_configs_for_link()
1176 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
/openbsd/sys/dev/pci/drm/amd/display/dc/
H A Ddc_dsc.h89 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp);