/linux/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
H A D | dcn20_dsc.c | 302 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 D | drm_dsc.h | 111 u16 pic_height; member 339 __be16 pic_height; member
|
/linux/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-hw.c | 676 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 D | wave5-vpuapi.h | 370 u32 pic_height; member 577 u32 pic_height; /* height of a picture to be encoded in unit of sample */ member
|
H A D | wave5-vpu-dec.c | 376 __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 D | wave5-vpuapi.c | 301 height < p_dec_info->initial_info.pic_height) in wave5_vpu_dec_register_frame_buffer_ex()
|
H A D | wave5-vpu-enc.c | 1151 open_param->pic_height = inst->dst_fmt.height; in wave5_set_enc_openparam()
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | rc_calc_dpi.c | 40 to->pic_height = from->pic_height; in copy_pps_fields()
|
H A D | dc_dsc.c | 880 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 D | dsc.h | 39 uint32_t pic_height; member
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_vdsc_regs.h | 100 #define DSC_PPS2_PIC_HEIGHT(pic_height) REG_FIELD_PREP(DSC_PPS2_PIC_HEIGHT_MASK, pic_height) argument
|
H A D | intel_vdsc.c | 467 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 D | icl_dsi.c | 1602 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 D | intel_dp.c | 1828 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 D | drm_dsc_helper.c | 142 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 D | dpu_hw_dsc.c | 76 data |= dsc->pic_height; in dpu_hw_dsc_config()
|
H A D | dpu_hw_dsc_1_2.c | 158 ((dsc->pic_height & 0xffff) << 16); in dpu_hw_dsc_config_1_2()
|
/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 957 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 D | power_helpers.c | 947 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 D | dcn314_hwseq.c | 90 …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 D | dcn401_dsc.c | 291 PIC_HEIGHT, reg_vals->pps.pic_height); in dsc_write_to_registers()
|
/linux/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 812 …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 D | dcn35_hwseq.c | 353 …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 D | dcn32_hwseq.c | 1052 …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 D | dcn20_resource.c | 1693 dsc_cfg.pic_height = stream->timing.v_addressable + stream->timing.v_border_top in dcn20_validate_dsc()
|