As promised in the basic wide planes support ([1]) here comes a series supporting 2*max_linewidth for all the planes. Note: Proper support for rot90 is pending. Granted that it is only enabled on sc7280 and it only supports UBWC (tiled) framebuffers, it was quite low on my priority list. I plan to get it done for v2. Note#2 to simplify the dpu_plane_virtual_assign_resources(), which already becomes big enough, I stripped support for sharing the SSPP across two planes (doubling amount of planes available to some of compositors/applications). I plan to get back to this topic once this series lands. Dependencies: msm-next + msm-fixes, [1], [2] [1] https://patchwork.freedesktop.org/series/99909/ [2] https://patchwork.freedesktop.org/series/113423/ Dmitry Baryshkov (12): drm/atomic-helper: split not-scaling part of drm_atomic_helper_check_plane_state drm/msm/dpu: encoder: simplify debugfs handling drm/msm/dpu: remove unused fields from dpu_encoder_virt drm/msm/dpu: get rid of struct dpu_rm_requirements drm/msm/dpu: switch RM to use crtc_id rather than enc_id for allocation drm/msm/dpu: move resource allocation to CRTC drm/msm/dpu: fill CRTC resources in dpu_crtc.c drm/msm/dpu: move pstate->pipe initialization to dpu_plane_atomic_check drm/msm/dpu: add list of supported formats to the DPU caps drm/msm/dpu: add a field describing inline rotation to dpu_caps drm/msm/dpu: add support for virtual planes drm/msm/dpu: allow using two SSPP blocks for a single plane drivers/gpu/drm/drm_atomic_helper.c | 85 +++- drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 162 ++++++- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 150 +------ drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 8 + .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h | 3 - .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 27 ++ .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 6 + drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 120 ++++-- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 14 +- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 398 ++++++++++++++++-- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.h | 33 +- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.c | 240 ++++++----- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 40 +- include/drm/drm_atomic_helper.h | 4 + 14 files changed, 933 insertions(+), 357 deletions(-) -- 2.30.2