Searched refs:bpp_x16 (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 477 struct fixed31_32 bpp_x16; in compute_bpp_x16_from_target_bandwidth() local 484 bpp_x16 = dc_fixpt_mul_int(effective_bandwidth_in_kbps, 10); in compute_bpp_x16_from_target_bandwidth() 485 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth() 486 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() 487 bpp_x16 = dc_fixpt_div_int(bpp_x16, bpp_increment_div); in compute_bpp_x16_from_target_bandwidth() 488 bpp_x16 = dc_fixpt_mul_int(bpp_x16, 16); in compute_bpp_x16_from_target_bandwidth() 489 return dc_fixpt_floor(bpp_x16); in compute_bpp_x16_from_target_bandwidth() 980 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp) in dc_dsc_stream_bandwidth_in_kbps() argument 988 bpp = dc_fixpt_from_fraction(bpp_x16, 16); in dc_dsc_stream_bandwidth_in_kbps()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_mst_types.h | 52 int bpp_x16; member
|
D | amdgpu_dm_mst_types.c | 661 params[i].timing->dsc_cfg.bits_per_pixel = vars[i + k].bpp_x16; in set_dsc_configs_from_fairness_vars() 769 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp() 790 vars[next_index].bpp_x16 = params[next_index].bw_range.max_target_bpp_x16; in increase_dsc_bpp() 825 && vars[i + k].bpp_x16 == params[i].bw_range.max_target_bpp_x16 in try_disable_dsc() 862 vars[next_index].bpp_x16 = 0; in try_disable_dsc() 956 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link() 975 vars[i + k].bpp_x16 = params[i].bw_range.min_target_bpp_x16; in compute_mst_dsc_configs_for_link() 983 vars[i + k].bpp_x16 = 0; in compute_mst_dsc_configs_for_link()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_dsc.h | 81 uint32_t bpp_x16, uint32_t num_slices_h, bool is_dp);
|