[PATCH v2 02/22] drm/msm/dpu: correct MERGE_3D length

Marijn Suijten marijn.suijten at somainline.org
Thu Jun 15 22:22:59 UTC 2023


On 2023-06-13 03:09:41, Dmitry Baryshkov wrote:
> Each MERGE_3D block has just two registers. Correct the block length
> accordingly.
> 
> Fixes: 4369c93cf36b ("drm/msm/dpu: initial support for merge3D hardware block")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>

Indeed, and that patch wasn't even introducing the register writes -
this only happened in commit 9ffd0e8569937 ("drm/msm/dpu: setup merge
modes in merge_3d block").

Reviewed-by: Marijn Suijten <marijn.suijten at somainline.org>

> ---
>  drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
> index 36ba3f58dcdf..0de507d4d7b7 100644
> --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
> +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c
> @@ -508,7 +508,7 @@ static const struct dpu_pingpong_sub_blks sc7280_pp_sblk = {
>  #define MERGE_3D_BLK(_name, _id, _base) \
>  	{\
>  	.name = _name, .id = _id, \
> -	.base = _base, .len = 0x100, \
> +	.base = _base, .len = 0x8, \
>  	.features = MERGE_3D_SM8150_MASK, \
>  	.sblk = NULL \
>  	}
> -- 
> 2.39.2
> 


More information about the dri-devel mailing list