Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/
H A Ddcn20_dsc.c302 DC_LOG_DSC("\tpic_height %d", pps->pic_height); in dsc_log_pps()
380 ASSERT(dsc_cfg->pic_height); in dsc_prepare_config()
390 !dsc_cfg->pic_width || !dsc_cfg->pic_height || in dsc_prepare_config()
409 dsc_reg_vals->pps.pic_height = dsc_cfg->pic_height; in dsc_prepare_config()
419 dsc_reg_vals->pps.slice_height = dsc_cfg->pic_height / dsc_cfg->dc_dsc_cfg.num_slices_v; in dsc_prepare_config()
421 ASSERT(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height); in dsc_prepare_config()
422 if (!(dsc_reg_vals->pps.slice_height * dsc_cfg->dc_dsc_cfg.num_slices_v == dsc_cfg->pic_height)) { in dsc_prepare_config()
423 …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()
544 reg_vals->pps.pic_height = 0; in dsc_init_reg_values()
602 PIC_HEIGHT, reg_vals->pps.pic_height); in dsc_write_to_registers()
[all …]
/linux/include/drm/display/
H A Ddrm_dsc.h111 u16 pic_height; member
339 __be16 pic_height; member
/linux/drivers/media/platform/chips-media/wave5/
H A Dwave5-hw.c676 info->pic_height = (reg_val & 0xffff); in wave5_get_dec_seq_result()
784 init_info->pic_height); in wave5_vpu_dec_register_framebuffer()
788 init_info->pic_height); in wave5_vpu_dec_register_framebuffer()
802 frame_height = init_info->pic_height; in wave5_vpu_dec_register_framebuffer()
816 pic_size = (init_info->pic_width << 16) | (init_info->pic_height); in wave5_vpu_dec_register_framebuffer()
840 pic_size = (init_info->pic_width << 16) | (init_info->pic_height); in wave5_vpu_dec_register_framebuffer()
1738 p_open_param->pic_height); in wave5_vpu_enc_init_seq()
1742 vpu_write_reg(inst->dev, W5_CMD_ENC_SEQ_SRC_SIZE, p_open_param->pic_height << 16 in wave5_vpu_enc_init_seq()
1948 buf_height = ALIGN(p_open_param->pic_height, 16); in wave5_vpu_enc_register_framebuffer()
1954 buf_height = ALIGN(p_open_param->pic_height, 16); in wave5_vpu_enc_register_framebuffer()
[all …]
H A Dwave5-vpuapi.h370 u32 pic_height; member
577 u32 pic_height; /* height of a picture to be encoded in unit of sample */ member
H A Dwave5-vpu-dec.c376 __func__, initial_info->pic_width, initial_info->pic_height, in handle_dynamic_resolution_change()
395 inst->conf_win.height = initial_info->pic_height - in handle_dynamic_resolution_change()
399 initial_info->pic_height); in handle_dynamic_resolution_change()
401 initial_info->pic_height); in handle_dynamic_resolution_change()
H A Dwave5-vpuapi.c301 height < p_dec_info->initial_info.pic_height) in wave5_vpu_dec_register_frame_buffer_ex()
H A Dwave5-vpu-enc.c1151 open_param->pic_height = inst->dst_fmt.height; in wave5_set_enc_openparam()
/linux/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc_dpi.c40 to->pic_height = from->pic_height; in copy_pps_fields()
H A Ddc_dsc.c880 int pic_height; in setup_dsc_config() local
888 pic_height = timing->v_addressable + timing->v_border_top + timing->v_border_bottom; in setup_dsc_config()
1059 slice_height = min(policy.min_slice_height, pic_height); in setup_dsc_config()
1061 slice_height = min((int)(options->dsc_min_slice_height_override), pic_height); in setup_dsc_config()
1063 while (slice_height < pic_height && (pic_height % slice_height != 0 || in setup_dsc_config()
1075 dsc_cfg->num_slices_v = pic_height / slice_height; in setup_dsc_config()
H A Ddsc.h39 uint32_t pic_height; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_vdsc_regs.h100 #define DSC_PPS2_PIC_HEIGHT(pic_height) REG_FIELD_PREP(DSC_PPS2_PIC_HEIGHT_MASK, pic_height) argument
H A Dintel_vdsc.c467 pps_val = DSC_PPS2_PIC_HEIGHT(vdsc_cfg->pic_height) | in intel_dsc_pps_configure()
519 DSC_PPS16_SLICE_ROW_PER_FRAME(vdsc_cfg->pic_height / in intel_dsc_pps_configure()
871 vdsc_cfg->pic_height = REG_FIELD_GET(DSC_PPS2_PIC_HEIGHT_MASK, pps_temp); in intel_dsc_get_pps_config()
H A Dicl_dsi.c1602 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in gen11_dsi_dsc_compute_config()
1615 vdsc_cfg->pic_height % vdsc_cfg->slice_height); in gen11_dsi_dsc_compute_config()
H A Dintel_dp.c1828 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in intel_dp_dsc_compute_params()
1830 vdsc_cfg->slice_height = intel_dp_get_slice_height(vdsc_cfg->pic_height); in intel_dp_dsc_compute_params()
/linux/drivers/gpu/drm/display/
H A Ddrm_dsc_helper.c142 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack()
1483 cfg->pic_width, cfg->pic_height, in drm_dsc_dump_config_main_params()
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_dsc.c76 data |= dsc->pic_height; in dpu_hw_dsc_config()
H A Ddpu_hw_dsc_1_2.c158 ((dsc->pic_height & 0xffff) << 16); in dpu_hw_dsc_config_1_2()
/linux/drivers/gpu/drm/msm/dsi/
H A Ddsi_host.c957 dsc->pic_height = mode->vdisplay; in dsi_timing_setup()
958 DBG("Mode %dx%d\n", dsc->pic_width, dsc->pic_height); in dsi_timing_setup()
2487 int pic_height = mode->vdisplay; in msm_dsi_host_check_dsc() local
2498 if (pic_height % dsc->slice_height) { in msm_dsi_host_check_dsc()
2500 pic_height, dsc->slice_height); in msm_dsi_host_check_dsc()
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c947 uint16_t pic_height; in psr_su_set_dsc_slice_height() local
958 pic_height = stream->timing.v_addressable + in psr_su_set_dsc_slice_height()
964 slice_height = pic_height / stream->timing.dsc_cfg.num_slices_v; in psr_su_set_dsc_slice_height()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn314/
H A Ddcn314_hwseq.c90 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in update_dsc_on_stream()
/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn401/
H A Ddcn401_dsc.c291 PIC_HEIGHT, reg_vals->pps.pic_height); in dsc_write_to_registers()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c812 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in link_set_dsc_on_stream()
943 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in link_set_dsc_pps_packet()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn35/
H A Ddcn35_hwseq.c353 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in update_dsc_on_stream()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn32/
H A Ddcn32_hwseq.c1052 …dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top + stream->timing.v… in dcn32_update_dsc_on_stream()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/
H A Ddcn20_resource.c1693 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top in dcn20_validate_dsc()

12