[PATCH v4 3/6] drm/msm/dpu: Fix slice_last_group_size calculation
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Wed Apr 5 19:26:42 UTC 2023
On 05/04/2023 03:41, Jessica Zhang wrote:
> Correct the math for slice_last_group_size so that it matches the
> calculations downstream.
>
> Changes in v3:
> - Reworded slice_last_group_size calculation to
> `(dsc->slice_width + 2) % 3`
>
> Fixes: c110cfd1753e ("drm/msm/disp/dpu1: Add support for DSC")
> Signed-off-by: Jessica Zhang <quic_jesszhan at quicinc.com>
> ---
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_dsc.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list