drm/msm/dpu: simplify VBIF handling
Status from this message: Applied to msm-next, thanks!
Get series with b4
b4 am [email protected] change-id 20260219-drop-vbif-nrt-cb7da190f6f4Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | drm/msm/dpu: drop VBIF_NRT handlingdrivers/ drivers/ drivers/ | +0 | 1 reply | |
| 2/7 | drm/msm/dpu: stop declaring VBIFs as an array in catalogdrivers/ drivers/ drivers/ +33 more | +87 | 1 reply | |
| 3/7 | drm/msm/dpu: replace VBIF-related array with bare pointersdrivers/ drivers/ drivers/ +1 more | +29 | 1 reply | |
| 4/7 | drm/msm/dpu: drop VBIF id, base and name from the catalogdrivers/ drivers/ drivers/ | +9 | 1 reply | |
| 5/7 | drm/msm/dpu: drop vbif_idx from WB configurationdrivers/ drivers/ drivers/ +18 more | +4 | 1 reply | |
| 6/7 | drm/msm/dpu: drop VBIF index from the VBIF paramsdrivers/ drivers/ drivers/ +2 more | +14 | 1 reply | |
| 7/7 | drm/msm/dpu: drop VBIF index from the struct dpu_hw_vbifdrivers/ drivers/ drivers/ +1 more | +8 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Konrad Dybcio |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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