Once Konrad asked, what is the use for VBIF_NRT. Answering to his question revealed that it's not actually used by the DPU driver.
There are two VBIF interfaces two memory, VBIF_RT and VBIF_NRT with VBIF_NRT being used only for the offscreen rotator, a separate block performing writeback operation with the optional 90 degree rotation. This block will require a separate isntance of the DPU driver, and it is not supported at this point. The only exception to that rule is MSM8996, where VBIF_NRT has also been used for outputting all writeback data. The DPU driver don't support WB on that platform and most likely will not in the close feature. The missing features don't match the extra complexity required to support two VBIF interfaces, so drop the second one and all the options to support it. Signed-off-by: Dmitry Baryshkov <[email protected]> --- Dmitry Baryshkov (7): drm/msm/dpu: drop VBIF_NRT handling drm/msm/dpu: stop declaring VBIFs as an array in catalog drm/msm/dpu: replace VBIF-related array with bare pointers drm/msm/dpu: drop VBIF id, base and name from the catalog drm/msm/dpu: drop vbif_idx from WB configuration drm/msm/dpu: drop VBIF index from the VBIF params drm/msm/dpu: drop VBIF index from the struct dpu_hw_vbif .../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_12_0_sm8750.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_13_0_kaanapali.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_1_14_msm8937.h | 3 +- .../drm/msm/disp/dpu1/catalog/dpu_1_15_msm8917.h | 3 +- .../drm/msm/disp/dpu1/catalog/dpu_1_16_msm8953.h | 3 +- .../drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h | 3 +- .../drm/msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_2_sdm660.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_3_3_sdm630.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_0_sdm845.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_4_1_sdm670.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_0_sm8150.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_5_1_sc8180x.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_2_sm7150.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_3_sm6150.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_5_4_sm6125.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_2_sc7180.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_3_sm6115.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_4_sm6350.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_6_5_qcm2290.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_6_9_sm6375.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_0_sm8350.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_7_2_sc7280.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 3 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_8_1_sm8450.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h | 4 +- .../gpu/drm/msm/disp/dpu1/catalog/dpu_9_0_sm8550.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_9_1_sar2130p.h | 4 +- .../drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 4 +- .../gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c | 7 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 35 ++--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 8 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 6 - drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c | 3 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.h | 1 - drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 70 +++------ drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c | 5 +- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 19 +-- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c | 163 ++++++++------------- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h | 4 - 44 files changed, 144 insertions(+), 296 deletions(-) --- base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f change-id: 20260219-drop-vbif-nrt-cb7da190f6f4 Best regards, -- With best wishes Dmitry
