Skip to content

drm/msm/dpu: simplify VBIF handling

Dmitry Baryshkov dri-devel linux-arm-msm lkml 1 version Applied

Status from this message: Applied to msm-next, thanks!

Get series with b4
b4 am [email protected] change-id 20260219-drop-vbif-nrt-cb7da190f6f4

Versions newest first

  1. v1 Latest7 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7drm/msm/dpu: drop VBIF_NRT handlingdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c+0 -171 reply
2/7drm/msm/dpu: stop declaring VBIFs as an array in catalogdrivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_0_sm8750.h drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h +33 more+87 -1411 reply
3/7drm/msm/dpu: replace VBIF-related array with bare pointersdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h +1 more+29 -491 reply
4/7drm/msm/dpu: drop VBIF id, base and name from the catalogdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c+9 -151 reply
5/7drm/msm/dpu: drop vbif_idx from WB configurationdrivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_0_sm8750.h drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_12_2_glymur.h +18 more+4 -231 reply
6/7drm/msm/dpu: drop VBIF index from the VBIF paramsdrivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_wb.c drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h +2 more+14 -301 reply
7/7drm/msm/dpu: drop VBIF index from the struct dpu_hw_vbifdrivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.h +1 more+8 -281 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchKonrad Dybcio
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] drm/msm/dpu: simplify VBIF handling

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.

---
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,

Signature · 2 lines
With best wishes
Dmitry