Lines Matching +full:16 +full:bpp

35 /* default DSC policy target bitrate limit is 16bpp */
36 static uint32_t dsc_policy_max_target_bpp_limit = 16;
64 struct fixed31_32 bpp; in apply_128b_132b_stream_overhead() local
67 bpp = dc_fixpt_from_int(kbps); in apply_128b_132b_stream_overhead()
68 bpp = dc_fixpt_div_int(bpp, timing->pix_clk_100hz / 10); in apply_128b_132b_stream_overhead()
70 /* Symbols_per_HActive = HActive * bpp / (4 lanes * 32-bit symbol size) in apply_128b_132b_stream_overhead()
74 overhead_factor = dc_fixpt_mul(overhead_factor, bpp); in apply_128b_132b_stream_overhead()
117 bits_per_channel = 16; in dc_bandwidth_in_kbps_from_timing()
196 *buff_block_size = 16 * 1024; in dsc_buff_block_size_from_dpcd()
289 // Mask bpp increment dpcd field to avoid reading other fields in dsc_bpp_increment_div_from_dpcd()
294 *bpp_increment_div = 16; in dsc_bpp_increment_div_from_dpcd()
388 /* dsc_bpp_increment_div should onl be 1, 2, 4, 8 or 16, but rather than rejecting invalid values, in dc_dsc_parse_dsc_dpcd()
400 if (dc->debug.dsc_bpp_increment_div >= 16) in dc_dsc_parse_dsc_dpcd()
401 dsc_sink_caps->bpp_increment_div = 16; in dc_dsc_parse_dsc_dpcd()
604 bpp_x16 = dc_fixpt_mul_int(bpp_x16, 16); in compute_bpp_x16_from_target_bandwidth()
610 * The range output includes decided min/max target bpp, the respective bandwidth requirements
636 /* apply max bpp limitation from edp sink */ in decide_dsc_bandwidth_range()
651 /* max dsc target bpp */ in decide_dsc_bandwidth_range()
655 /* min dsc target bpp */ in decide_dsc_bandwidth_range()
663 /* Decides if DSC should be used and calculates target bpp if it should, applying DSC policy.
666 * - 'true' if target bpp is decided
667 * - 'false' if target bpp cannot be decided (e.g. cannot fit even with min DSC bpp),
683 if (decide_dsc_bandwidth_range(policy->min_target_bpp * 16, policy->max_target_bpp * 16, in decide_dsc_target_bpp_x16()
687 /* enable max bpp even dsc is not needed */ in decide_dsc_target_bpp_x16()
690 /* use max target bpp allowed */ in decide_dsc_target_bpp_x16()
693 /* use target bpp that can take entire target bandwidth */ in decide_dsc_target_bpp_x16()
726 available_slices[idx++] = 16; in get_available_dsc_slices()
849 * If 0, do not calculate target bpp.
1136 struct fixed31_32 bpp; in dc_dsc_stream_bandwidth_in_kbps() local
1141 bpp = dc_fixpt_from_fraction(bpp_x16, 16); in dc_dsc_stream_bandwidth_in_kbps()
1143 actual_bandwidth_in_kbps = dc_fixpt_mul(actual_bandwidth_in_kbps, bpp); in dc_dsc_stream_bandwidth_in_kbps()
1159 /* use target bpp that can take entire target bandwidth */ in dc_dsc_stream_bandwidth_overhead_in_kbps()
1197 /* DSC Policy: follow DP specs with an internal upper limit to 16 bpp in dc_dsc_get_policy_for_timing()
1232 /* internal upper limit, default 16 bpp */ in dc_dsc_get_policy_for_timing()
1237 …x_target_bpp_limit_override_x16 && policy->max_target_bpp > max_target_bpp_limit_override_x16 / 16) in dc_dsc_get_policy_for_timing()
1238 policy->max_target_bpp = max_target_bpp_limit_override_x16 / 16; in dc_dsc_get_policy_for_timing()