Home
last modified time | relevance | path

Searched refs:slice_height (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_dsc.c119 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack()
299 slice_bits = 8 * vdsc_cfg->slice_chunk_size * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters()
326 if (vdsc_cfg->slice_height > 1) in drm_dsc_compute_rc_parameters()
333 (vdsc_cfg->slice_height - 1)); in drm_dsc_compute_rc_parameters()
338 groups_total = groups_per_line * vdsc_cfg->slice_height; in drm_dsc_compute_rc_parameters()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dsc/
Drc_calc.c180 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()
326 int slice_height = pps->slice_height; in calc_rc_params() local
338 slice_width, slice_height, in calc_rc_params()
Ddc_dsc.c561 int slice_height; in setup_dsc_config() local
724 slice_height = min(policy.min_slice_height, pic_height); in setup_dsc_config()
726 slice_height = min(min_slice_height_override, pic_height); in setup_dsc_config()
728 while (slice_height < pic_height && (pic_height % slice_height != 0 || in setup_dsc_config()
729 (timing->pixel_encoding == PIXEL_ENCODING_YCBCR420 && slice_height % 2 != 0))) in setup_dsc_config()
730 slice_height++; in setup_dsc_config()
733 is_dsc_possible = (slice_height % 2 == 0); in setup_dsc_config()
738 dsc_cfg->num_slices_v = pic_height/slice_height; in setup_dsc_config()
Drc_calc_dpi.c36 to->slice_height = from->slice_height; in copy_pps_fields()
/kernel/linux/linux-5.10/include/drm/
Ddrm_dsc.h102 u16 slice_height; member
352 __be16 slice_height; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c295 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_vdsc.c591 pps_val |= DSC_SLICE_HEIGHT(vdsc_cfg->slice_height) | in intel_dsc_pps_configure()
799 vdsc_cfg->slice_height); in intel_dsc_pps_configure()
Dintel_vbt_defs.h895 u16 slice_height; member
Dicl_dsi.c1506 drm_WARN_ON(&dev_priv->drm, vdsc_cfg->slice_height < 8); in gen11_dsi_dsc_compute_config()
1508 vdsc_cfg->pic_height % vdsc_cfg->slice_height); in gen11_dsi_dsc_compute_config()
Dintel_bios.c2548 vdsc_cfg->slice_height = dsc->slice_height; in fill_dsc()
Dintel_dp.c2195 vdsc_cfg->slice_height = 8; in intel_dp_dsc_compute_params()
2197 vdsc_cfg->slice_height = 4; in intel_dp_dsc_compute_params()
2199 vdsc_cfg->slice_height = 2; in intel_dp_dsc_compute_params()
/kernel/linux/patches/linux-5.10/yangfan_patch/
Ddrivers.patch17982 + unsigned int slice_height;
18357 + s->dsc_sink_cap.slice_height = dsi->slice_height;
18521 + of_property_read_u32(np, "slice-height", &dsi->slice_height);
19397 + u32 slice_height;
19793 + int slice_height;
19802 + for (slice_height = 96; slice_height <= vactive; slice_height += 2)
19803 + if (vactive % slice_height == 0)
19804 + return slice_height;
20008 + u16 slice_width, u16 slice_height,
20017 + slice_height == pps_datas[i].slice_height &&
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_reg.h12084 #define DSC_SLICE_HEIGHT(slice_height) ((slice_height) << 0) argument