[PATCH v6 08/10] drm/msm/dpu: rewrite scaler and CSC presense checks

Abhinav Kumar quic_abhinavk at quicinc.com
Mon Oct 30 19:57:17 UTC 2023



On 10/6/2023 6:14 AM, Dmitry Baryshkov wrote:
> In order to check whether the SSPP block has scaler and CSC subblocks
> the funcion dpu_plane_atomic_check_pipe() uses macros which enumerate
> all possible scaler and CSC features. Replace those checks with the
> scaler and CSC subblock length checks in order to be able to drop those
> two macros.
> 

funcion ---> function

> Suggested-by: Abhinav Kumar <quic_abhinavk at quicinc.com>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
>   drivers/gpu/drm/msm/disp/dpu1/dpu_hw_sspp.h | 15 ---------------
>   drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c   |  4 ++--
>   2 files changed, 2 insertions(+), 17 deletions(-)
> 

Rest LGTM,

Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>



More information about the dri-devel mailing list