diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-05-24 10:45:15 -0700 |
---|---|---|
committer | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2023-06-15 12:58:56 +0300 |
commit | e871a70d8ccd6dbcb30f081f5d3d8854380422fe (patch) | |
tree | 2aaf2077c5180566cc06894e3361d25121e8bf47 /include/drm/display | |
parent | 7df1ed6ddf3da52b020ef3c3f5597bc628c3e58e (diff) | |
download | linux-stable-e871a70d8ccd6dbcb30f081f5d3d8854380422fe.tar.gz linux-stable-e871a70d8ccd6dbcb30f081f5d3d8854380422fe.tar.bz2 linux-stable-e871a70d8ccd6dbcb30f081f5d3d8854380422fe.zip |
drm/display/dsc: add helper to set semi-const parameters
Add a helper setting config values which are typically constant across
operating modes (table E-4 of the standard) and mux_word_size (which is
a const according to 3.5.2).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/539280/
Link: https://lore.kernel.org/r/20230329-rfc-msm-dsc-helper-v14-2-bafc7be95691@quicinc.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Diffstat (limited to 'include/drm/display')
-rw-r--r-- | include/drm/display/drm_dsc_helper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/display/drm_dsc_helper.h b/include/drm/display/drm_dsc_helper.h index 71789fb34e17..f4e18e5d077a 100644 --- a/include/drm/display/drm_dsc_helper.h +++ b/include/drm/display/drm_dsc_helper.h @@ -21,6 +21,7 @@ void drm_dsc_dp_pps_header_init(struct dp_sdp_header *pps_header); int drm_dsc_dp_rc_buffer_size(u8 rc_buffer_block_size, u8 rc_buffer_size); void drm_dsc_pps_payload_pack(struct drm_dsc_picture_parameter_set *pps_sdp, const struct drm_dsc_config *dsc_cfg); +void drm_dsc_set_const_params(struct drm_dsc_config *vdsc_cfg); void drm_dsc_set_rc_buf_thresh(struct drm_dsc_config *vdsc_cfg); int drm_dsc_setup_rc_params(struct drm_dsc_config *vdsc_cfg, enum drm_dsc_params_type type); int drm_dsc_compute_rc_parameters(struct drm_dsc_config *vdsc_cfg); |