Home
last modified time | relevance | path

Searched refs:vdsc_cfg (Results 1 – 4 of 4) sorted by relevance

/linux/include/drm/display/
H A Ddrm_dsc_helper.h26 void drm_dsc_set_const_params(struct drm_dsc_config *vdsc_cfg);
27 void drm_dsc_set_rc_buf_thresh(struct drm_dsc_config *vdsc_cfg);
28 int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg, enum drm_dsc_params_type type);
29 int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg);
32 u32 drm_dsc_get_bpp_int(const struct drm_dsc_config *vdsc_cfg);
/linux/drivers/gpu/drm/i915/display/
H A Dintel_dp.c1861 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_dp_dsc_compute_params() local
1870 vdsc_cfg->rc_model_size = DSC_RC_MODEL_SIZE_CONST; in intel_dp_dsc_compute_params()
1871 vdsc_cfg->pic_height = crtc_state->hw.adjusted_mode.crtc_vdisplay; in intel_dp_dsc_compute_params()
1873 vdsc_cfg->slice_height = intel_dp_get_slice_height(vdsc_cfg->pic_height); in intel_dp_dsc_compute_params()
1879 vdsc_cfg->dsc_version_major = in intel_dp_dsc_compute_params()
1882 vdsc_cfg->dsc_version_minor = in intel_dp_dsc_compute_params()
1885 if (vdsc_cfg->convert_rgb) in intel_dp_dsc_compute_params()
1886 vdsc_cfg->convert_rgb = in intel_dp_dsc_compute_params()
1890 vdsc_cfg->line_buf_depth = min(INTEL_DP_DSC_MAX_LINE_BUF_DEPTH, in intel_dp_dsc_compute_params()
1892 if (!vdsc_cfg->line_buf_depth) { in intel_dp_dsc_compute_params()
[all …]
H A Dintel_bios.c3576 struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in fill_dsc() local
3580 vdsc_cfg->dsc_version_major = dsc->version_major; in fill_dsc()
3581 vdsc_cfg->dsc_version_minor = dsc->version_minor; in fill_dsc()
3635 vdsc_cfg->rc_model_size = drm_dsc_dp_rc_buffer_size(dsc->rc_buffer_block_size, in fill_dsc()
3639 vdsc_cfg->line_buf_depth = VBT_DSC_LINE_BUFFER_DEPTH(dsc->line_buffer_depth); in fill_dsc()
3641 vdsc_cfg->block_pred_enable = dsc->block_prediction_enable; in fill_dsc()
3643 vdsc_cfg->slice_height = dsc->slice_height; in fill_dsc()
H A Dintel_psr.c1228 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in psr2_granularity_check() local
1271 vdsc_cfg->slice_height % y_granularity) in psr2_granularity_check()
2727 const struct drm_dsc_config *vdsc_cfg = &crtc_state->dsc.config; in intel_psr2_sel_fetch_pipe_alignment() local
2734 y_alignment = vdsc_cfg->slice_height; in intel_psr2_sel_fetch_pipe_alignment()