Re: [PATCH v3 5/6] drm/display: Add slice_per_pkt for dsc

From: Dmitry Baryshkov
Date: Wed Apr 03 2024 - 05:41:44 EST


On Wed, 3 Apr 2024 at 12:11, Jun Nie <jun.nie@xxxxxxxxxx> wrote:
>
> Add variable for slice number of a DSC compression bit stream packet.
> Its value shall be specified in panel driver, or default value can be set
> in display controller driver if panel driver does not set it.

This is not a part of the standard. Please justify it.

>
> Signed-off-by: Jun Nie <jun.nie@xxxxxxxxxx>
> ---
> include/drm/display/drm_dsc.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/drm/display/drm_dsc.h b/include/drm/display/drm_dsc.h
> index bc90273d06a6..4fac0a2746ae 100644
> --- a/include/drm/display/drm_dsc.h
> +++ b/include/drm/display/drm_dsc.h
> @@ -82,6 +82,10 @@ struct drm_dsc_config {
> * @bits_per_component: Bits per component to code (8/10/12)
> */
> u8 bits_per_component;
> + /**
> + * @slice_per_pkt: slice number per DSC bit stream packet
> + */
> + u8 slice_per_pkt;
> /**
> * @convert_rgb:
> * Flag to indicate if RGB - YCoCg conversion is needed
>
> --
> 2.34.1
>


--
With best wishes
Dmitry