Changes in RFC: - Rebase changes to the latest code base. - Append rotation config variables with v2 and remove unused variables.(Dmitry) - Move pixel_ext setup separately from scaler3 config.(Dmitry) - Add 270 degree rotation to supported rotation list.(Dmitry) Changes in V2: - Remove unused macros and fix indentation. - Add check if 90 rotation is supported and add supported rotations to rot_cfg. Changes in V3: - Fix indentation. - Move rot_supported to sspp capabilities. (Dmitry) - Config pixel_ext based on src_h/src_w directly. (Dmitry) - Misc changes. Changes in V4: - Pass boolean value to sspp blk based on supported rotations for each hw. Changes in V5: - Update boolean value to true/false and add it for qcm2290. Changes in V6: - Add changes that are missed as part of v5. - Add dpu_find_format inline function to find valid format. (Dmitry) Changes in V7: - Move dpu_find_format inline function to separate commit. (Dmitry) - Remove rot_cfg from SSPP_BLK and use DPU_SSPP_INLINE_ROTATION caps to append supported rotations. (Dmitry) - Misc Changes. Changes in V8: - Misc changes. Co-developed-by: Kalyan Thota <quic_kalyant@xxxxxxxxxxx> Signed-off-by: Kalyan Thota <quic_kalyant@xxxxxxxxxxx> Signed-off-by: Vinod Polimera <quic_vpolimer@xxxxxxxxxxx> Vinod Polimera (2): drm/msm/disp/dpu1: add inline function to validate format support drm/msm/disp/dpu1: add inline rotation support for sc7280 drivers/gpu/drm/msm/disp/dpu1/dpu_formats.h | 22 ++++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 43 +++++++- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 16 +++ drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 139 +++++++++++++++++++------ drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h | 2 + 5 files changed, 186 insertions(+), 36 deletions(-) -- 2.7.4