Home
last modified time | relevance | path

Searched refs:pic_height (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_dsc.c308 DC_LOG_DSC("\tpic_height %d", pps->pic_height); in dsc_log_pps()
358 ASSERT(dsc_cfg->pic_height); in dsc_prepare_config()
368 !dsc_cfg->pic_width || !dsc_cfg->pic_height || in dsc_prepare_config()
387 dsc_reg_vals->pps.pic_height = dsc_cfg->pic_height; in dsc_prepare_config()
397 dsc_reg_vals->pps.slice_height = dsc_cfg->pic_height / dsc_cfg->dc_dsc_cfg.num_slices_v; in dsc_prepare_config()
399 ASSERT(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height); in dsc_prepare_config()
400 if (!(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height)) { in dsc_prepare_config()
401 …ix height %d not divisible by num_slices_v %d\n\n", __func__, dsc_cfg->pic_height, dsc_cfg->dc_dsc… in dsc_prepare_config()
517 reg_vals->pps.pic_height = 0; in dsc_init_reg_values()
575 PIC_HEIGHT, reg_vals->pps.pic_height); in dsc_write_to_registers()
[all …]
Ddcn20_resource.c1674 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top in dcn20_validate_dsc()
/linux-6.1.9/include/drm/display/
Ddrm_dsc.h114 u16 pic_height; member
342 __be16 pic_height; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c757 int pic_height; in setup_dsc_config() local
765 pic_height = timing->v_addressable + timing->v_border_top + timing->v_border_bottom; in setup_dsc_config()
913 slice_height = min(policy.min_slice_height, pic_height); in setup_dsc_config()
915 slice_height = min(min_slice_height_override, pic_height); in setup_dsc_config()
917 while (slice_height < pic_height && (pic_height % slice_height != 0 || in setup_dsc_config()
927 dsc_cfg->num_slices_v = pic_height/slice_height; in setup_dsc_config()
Drc_calc_dpi.c40 to->pic_height = from->pic_height; in copy_pps_fields()
/linux-6.1.9/drivers/gpu/drm/display/
Ddrm_dsc_helper.c141 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddsc.h39 uint32_t pic_height; member
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_dsc.c69 data |= dsc->pic_height; in dpu_hw_dsc_config()
/linux-6.1.9/drivers/gpu/drm/msm/dsi/
Ddsi_host.c942 dsc->pic_height = mode->vdisplay; in dsi_timing_setup()
943 DBG("Mode %dx%d\n", dsc->pic_width, dsc->pic_height); in dsi_timing_setup()
2504 int pic_height = mode->vdisplay; in msm_dsi_host_check_dsc() local
2515 if (pic_height % dsc->slice_height) { in msm_dsi_host_check_dsc()
2517 pic_height, dsc->slice_height); in msm_dsi_host_check_dsc()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_hwseq.c115 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in update_dsc_on_stream()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_vdsc.c656 pps_val |= DSC_PIC_HEIGHT(vdsc_cfg->pic_height) | in intel_dsc_pps_configure()
888 DSC_SLICE_ROW_PER_FRAME(vdsc_cfg->pic_height / in intel_dsc_pps_configure()
Dicl_dsi.c1633 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in gen11_dsi_dsc_compute_config()
1646 vdsc_cfg->pic_height % vdsc_cfg->slice_height); in gen11_dsi_dsc_compute_config()
Dintel_dp.c1418 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in intel_dp_dsc_compute_params()
1425 if (vdsc_cfg->pic_height % 8 == 0) in intel_dp_dsc_compute_params()
1427 else if (vdsc_cfg->pic_height % 4 == 0) in intel_dp_dsc_compute_params()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c1035 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in update_dsc_on_stream()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c7417 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in dp_set_dsc_on_stream()
7538 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in dp_set_dsc_pps_sdp()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_reg.h8034 #define DSC_PIC_HEIGHT(pic_height) ((pic_height) << 0) argument