Home
last modified time | relevance | path

Searched refs:slice_width (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dsc/
Drc_calc.c180 int slice_width, int slice_height, in _do_calc_rc_params() argument
224 slice_width /= 2; in _do_calc_rc_params()
226 …padding_pixels = ((slice_width % 3) != 0) ? (3 - (slice_width % 3)) * (rc->initial_xmit_delay / sl… in _do_calc_rc_params()
268 static u32 _do_bytes_per_pixel_calc(int slice_width, u16 drm_bpp, in _do_bytes_per_pixel_calc() argument
276 d_bytes_per_pixel = dsc_ceil(bpp * slice_width / 8.0) / slice_width; in _do_bytes_per_pixel_calc()
325 int slice_width = pps->slice_width; in calc_rc_params() local
338 slice_width, slice_height, in calc_rc_params()
361 int slice_width = pps->slice_width; in calc_dsc_bytes_per_pixel() local
365 ret = _do_bytes_per_pixel_calc(slice_width, drm_bpp, in calc_dsc_bytes_per_pixel()
Drc_calc_dpi.c35 to->slice_width = from->slice_width; in copy_pps_fields()
Ddc_dsc.c555 int slice_width; in setup_dsc_config() local
715 slice_width = pic_width / num_slices_h; in setup_dsc_config()
717 is_dsc_possible = slice_width <= dsc_common_caps.max_slice_width; in setup_dsc_config()
/Linux-v5.10/drivers/gpu/drm/
Ddrm_dsc.c122 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack()
268 groups_per_line = DIV_ROUND_UP(vdsc_cfg->slice_width / 2, in drm_dsc_compute_rc_parameters()
272 vdsc_cfg->slice_chunk_size = DIV_ROUND_UP(vdsc_cfg->slice_width / 2 * in drm_dsc_compute_rc_parameters()
277 groups_per_line = DIV_ROUND_UP(vdsc_cfg->slice_width, in drm_dsc_compute_rc_parameters()
281 vdsc_cfg->slice_chunk_size = DIV_ROUND_UP(vdsc_cfg->slice_width * in drm_dsc_compute_rc_parameters()
/Linux-v5.10/include/drm/
Ddrm_dsc.h98 u16 slice_width; member
357 __be16 slice_width; member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c296 DC_LOG_DSC("\tslice_width %d", pps->slice_width); in dsc_log_pps()
381 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config()
409 dsc_optc_cfg->slice_width = dsc_reg_vals->pps.slice_width; in dsc_prepare_config()
503 reg_vals->pps.slice_width = 0; in dsc_init_reg_values()
605 SLICE_WIDTH, reg_vals->pps.slice_width, in dsc_write_to_registers()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h49 uint32_t slice_width; /* Slice width in pixels */ member
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c412 DC_LOG_DSC("\tslice_width %d", config->slice_width); in dsc_optc_config_log()
477 dsc_optc_cfg.slice_width); in dp_set_dsc_on_stream()
488 dsc_optc_cfg.slice_width); in dp_set_dsc_on_stream()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_vdsc.c390 vdsc_cfg->slice_width = DIV_ROUND_UP(vdsc_cfg->pic_width, in intel_dsc_compute_params()
592 DSC_SLICE_WIDTH(vdsc_cfg->slice_width); in intel_dsc_pps_configure()
797 vdsc_cfg->slice_width) | in intel_dsc_pps_configure()
Dicl_dsi.c1505 vdsc_cfg->pic_width % vdsc_cfg->slice_width); in gen11_dsi_dsc_compute_config()
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_reg.h12072 #define DSC_SLICE_WIDTH(slice_width) ((slice_width) << 16) argument