Searched refs:slice_height (Results 1 – 13 of 13) sorted by relevance
| /Linux-v5.15/drivers/gpu/drm/ |
| D | drm_dsc.c | 146 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack() 325 slice_bits = 8 * vdsc_cfg->slice_chunk_size * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters() 352 if (vdsc_cfg->slice_height > 1) in drm_dsc_compute_rc_parameters() 359 (vdsc_cfg->slice_height - 1)); in drm_dsc_compute_rc_parameters() 364 groups_total = groups_per_line * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters()
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dsc/ |
| D | rc_calc.c | 180 int slice_width, int slice_height, in _do_calc_rc_params() argument 204 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in _do_calc_rc_params() 209 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in _do_calc_rc_params() 215 …rc->first_line_bpg_offset = median3(0, (12 + (int) (0.09 * min(34, slice_height - 8))), (int)((… in _do_calc_rc_params() 306 int slice_height = pps->slice_height; in calc_rc_params() local 318 slice_width, slice_height, in calc_rc_params()
|
| D | dc_dsc.c | 777 int slice_height; in setup_dsc_config() local 928 slice_height = min(policy.min_slice_height, pic_height); in setup_dsc_config() 930 slice_height = min(min_slice_height_override, pic_height); in setup_dsc_config() 932 while (slice_height < pic_height && (pic_height % slice_height != 0 || in setup_dsc_config() 933 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config() 934 slice_height++; in setup_dsc_config() 937 is_dsc_possible = (slice_height % 2 == 0); in setup_dsc_config() 942 dsc_cfg->num_slices_v = pic_height/slice_height; in setup_dsc_config()
|
| D | rc_calc_dpi.c | 36 to->slice_height = from->slice_height; in copy_pps_fields()
|
| /Linux-v5.15/include/drm/ |
| D | drm_dsc.h | 102 u16 slice_height; member 353 __be16 slice_height; member
|
| /Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_dsc.c | 295 DC_LOG_DSC("\tslice_height %d", pps->slice_height); in dsc_log_pps() 382 dsc_reg_vals->pps.slice_height = dsc_cfg->pic_height / dsc_cfg->dc_dsc_cfg.num_slices_v; in dsc_prepare_config() 384 ASSERT(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height); in dsc_prepare_config() 385 if (!(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height)) { in dsc_prepare_config() 504 reg_vals->pps.slice_height = 0; in dsc_init_reg_values() 606 SLICE_HEIGHT, reg_vals->pps.slice_height); in dsc_write_to_registers()
|
| /Linux-v5.15/drivers/gpu/drm/i915/display/ |
| D | intel_vdsc.c | 393 if (vdsc_cfg->slice_height >= 8) in calculate_rc_params() 395 12 + DIV_ROUND_UP((9 * min(34, vdsc_cfg->slice_height - 8)), 100); in calculate_rc_params() 397 rc->first_line_bpg_offset = 2 * (vdsc_cfg->slice_height - 1); in calculate_rc_params() 675 pps_val |= DSC_SLICE_HEIGHT(vdsc_cfg->slice_height) | in intel_dsc_pps_configure() 883 vdsc_cfg->slice_height); in intel_dsc_pps_configure()
|
| D | intel_hdmi.c | 2926 int slice_height; in intel_hdmi_dsc_get_slice_height() local 2935 for (slice_height = 96; slice_height <= vactive; slice_height += 2) in intel_hdmi_dsc_get_slice_height() 2936 if (vactive % slice_height == 0) in intel_hdmi_dsc_get_slice_height() 2937 return slice_height; in intel_hdmi_dsc_get_slice_height()
|
| D | intel_dp.c | 1140 vdsc_cfg->slice_height = 8; in intel_dp_dsc_compute_params() 1142 vdsc_cfg->slice_height = 4; in intel_dp_dsc_compute_params() 1144 vdsc_cfg->slice_height = 2; in intel_dp_dsc_compute_params() 2199 int slice_height; in intel_dp_pcon_dsc_configure() local 2221 slice_height = intel_dp_pcon_dsc_enc_slice_height(crtc_state); in intel_dp_pcon_dsc_configure() 2222 if (!slice_height) in intel_dp_pcon_dsc_configure() 2237 pps_param[0] = slice_height & 0xFF; in intel_dp_pcon_dsc_configure() 2238 pps_param[1] = slice_height >> 8; in intel_dp_pcon_dsc_configure()
|
| D | intel_vbt_defs.h | 926 u16 slice_height; member
|
| D | icl_dsi.c | 1632 drm_WARN_ON(&dev_priv->drm, vdsc_cfg->slice_height < 8); in gen11_dsi_dsc_compute_config() 1634 vdsc_cfg->pic_height % vdsc_cfg->slice_height); in gen11_dsi_dsc_compute_config()
|
| D | intel_bios.c | 2774 vdsc_cfg->slice_height = dsc->slice_height; in fill_dsc()
|
| /Linux-v5.15/drivers/gpu/drm/i915/ |
| D | i915_reg.h | 12444 #define DSC_SLICE_HEIGHT(slice_height) ((slice_height) << 0) argument
|