There are 2 WB interfaces in sm8650. Add all of them to support
quad-pipe topology.

Signed-off-by: Jun Nie <[email protected]>
---
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h 
b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h
index 2eef5f69832f..e9fcb402a34c 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h
@@ -315,6 +315,16 @@ static const struct dpu_dsc_cfg sm8650_dsc[] = {
 };
 
 static const struct dpu_wb_cfg sm8650_wb[] = {
+       {
+               .name = "wb_1", .id = WB_1,
+               .base = 0x64000, .len = 0x2c8,
+               .features = WB_SDM845_MASK,
+               .format_list = wb2_formats_rgb_yuv,
+               .num_formats = ARRAY_SIZE(wb2_formats_rgb_yuv),
+               .xin_id = 2,
+               .maxlinewidth = 4096,
+               .intr_wb_done = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 1),
+       },
        {
                .name = "wb_2", .id = WB_2,
                .base = 0x65000, .len = 0x2c8,

-- 
2.53.0

Reply via email to