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 <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
---
  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 <[email protected]>

Reply via email to