As suggested by Abhinav, rework VBIF handling, simplifying the code. Changes since v1: - Fix array index comparison in patch 1 (as noted by Abhinav) Dmitry Baryshkov (3): drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idx drm/msm/dpu: fix error handling around dpu_hw_vbif_init drm/msm/dpu: drop VBIF indices .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 4 +- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 6 +- drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 14 ++-- drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c | 65 +++++++++++-------- 4 files changed, 46 insertions(+), 43 deletions(-) -- 2.35.1