Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c173 if (dsc_cfg->pic_width > dsc20->max_image_width) in dsc2_validate_stream()
294 DC_LOG_DSC("\tpic_width %d", pps->pic_width); in dsc_log_pps()
342 ASSERT(dsc_cfg->pic_width); in dsc_prepare_config()
353 !dsc_cfg->pic_width || !dsc_cfg->pic_height || in dsc_prepare_config()
371 dsc_reg_vals->pps.pic_width = dsc_cfg->pic_width; in dsc_prepare_config()
381 dsc_reg_vals->pps.slice_width = dsc_cfg->pic_width / dsc_cfg->dc_dsc_cfg.num_slices_h; in dsc_prepare_config()
501 reg_vals->pps.pic_width = 0; in dsc_init_reg_values()
559 PIC_WIDTH, reg_vals->pps.pic_width, in dsc_write_to_registers()
601 PIC_WIDTH, reg_vals->pps.pic_width, in dsc_write_to_registers()
Ddcn20_resource.c2468 dsc_cfg.pic_width = (stream->timing.h_addressable + stream->timing.h_border_left in dcn20_validate_dsc()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c770 int pic_width; in setup_dsc_config() local
783 pic_width = timing->h_addressable + timing->h_border_left + timing->h_border_right; in setup_dsc_config()
789 if (dsc_sink_caps->branch_max_line_width && dsc_sink_caps->branch_max_line_width < pic_width) in setup_dsc_config()
862 if (pic_width % max_slices_h == 0) in setup_dsc_config()
872 min_slices_h = pic_width / dsc_common_caps.max_slice_width; in setup_dsc_config()
873 if (pic_width % dsc_common_caps.max_slice_width) in setup_dsc_config()
886 if (pic_width % min_slices_h != 0) in setup_dsc_config()
919 slice_width = pic_width / num_slices_h; in setup_dsc_config()
Drc_calc_dpi.c40 to->pic_width = from->pic_width; in copy_pps_fields()
/Linux-v5.15/include/drm/
Ddrm_dsc.h110 u16 pic_width; member
348 __be16 pic_width; member
/Linux-v5.15/drivers/gpu/drm/
Ddrm_dsc.c143 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack()
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h38 uint32_t pic_width; member
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_hwss.c448 …dsc_cfg.pic_width = (stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.… in dp_set_dsc_on_stream()
466 dsc_cfg.pic_width *= opp_cnt; in dp_set_dsc_on_stream()
554 …dsc_cfg.pic_width = stream->timing.h_addressable + stream->timing.h_border_left + stream->timing.h… in dp_set_dsc_pps_sdp()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_vdsc.c457 vdsc_cfg->pic_width = pipe_config->hw.adjusted_mode.crtc_hdisplay; in intel_dsc_compute_params()
459 vdsc_cfg->slice_width = DIV_ROUND_UP(vdsc_cfg->pic_width, in intel_dsc_compute_params()
651 DSC_PIC_WIDTH(vdsc_cfg->pic_width / num_vdsc_instances); in intel_dsc_pps_configure()
880 DSC_SLICE_PER_LINE((vdsc_cfg->pic_width / num_vdsc_instances) / in intel_dsc_pps_configure()
Dicl_dsi.c1631 vdsc_cfg->pic_width % vdsc_cfg->slice_width); in gen11_dsi_dsc_compute_config()
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_reg.h12428 #define DSC_PIC_WIDTH(pic_width) ((pic_width) << 16) argument