From: Abhinav Kumar <[email protected]>

Interface type of MST interfaces is currently INTF_NONE. Update this to
INTF_DP. And correct the intf_6 intr_underrun/intr_vsync index for
dpu_8_4_sa8775p.

Signed-off-by: Abhinav Kumar <[email protected]>
Signed-off-by: Yongxing Mou <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
---
This patch was split out from the MST V3 patch series:
https://lore.kernel.org/all/[email protected]/
---
Changes in v4:
- Splite chagne out from the MST V3 series.
- Link to v3: 
https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Fix through the whole catalog
- Link to v2: 
https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Change the patch order in the series.
- Link to v1: 
https://lore.kernel.org/all/[email protected]/
---
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h |  6 +++---
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h  | 12 ++++++------
 drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h |  6 +++---
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h 
b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h
index 303d33dc7783..ea2329f0b5e9 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h
@@ -319,7 +319,7 @@ static const struct dpu_intf_cfg sc8280xp_intf[] = {
        }, {
                .name = "intf_3", .id = INTF_3,
                .base = 0x37000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_0,
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30),
@@ -351,7 +351,7 @@ static const struct dpu_intf_cfg sc8280xp_intf[] = {
        }, {
                .name = "intf_7", .id = INTF_7,
                .base = 0x3b000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_2,
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 18),
@@ -359,7 +359,7 @@ static const struct dpu_intf_cfg sc8280xp_intf[] = {
        }, {
                .name = "intf_8", .id = INTF_8,
                .base = 0x3c000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_1,
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 12),
diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h 
b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h
index 0f7b4a224e4c..00fd0c8cc115 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h
@@ -347,7 +347,7 @@ static const struct dpu_intf_cfg sa8775p_intf[] = {
        }, {
                .name = "intf_3", .id = INTF_3,
                .base = 0x37000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_0,   /* pair with intf_0 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30),
@@ -363,15 +363,15 @@ static const struct dpu_intf_cfg sa8775p_intf[] = {
        }, {
                .name = "intf_6", .id = INTF_6,
                .base = 0x3A000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_0,   /* pair with intf_0 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
-               .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 17),
-               .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 16),
+               .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 16),
+               .intr_vsync = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 17),
        }, {
                .name = "intf_7", .id = INTF_7,
                .base = 0x3b000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_0,   /* pair with intf_0 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 18),
@@ -379,7 +379,7 @@ static const struct dpu_intf_cfg sa8775p_intf[] = {
        }, {
                .name = "intf_8", .id = INTF_8,
                .base = 0x3c000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_1,   /* pair with intf_4 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 12),
diff --git a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h 
b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h
index 7243eebb85f3..826f65adb18b 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h
@@ -335,7 +335,7 @@ static const struct dpu_intf_cfg x1e80100_intf[] = {
        }, {
                .name = "intf_3", .id = INTF_3,
                .base = 0x37000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_0,   /* pair with intf_0 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 30),
@@ -367,7 +367,7 @@ static const struct dpu_intf_cfg x1e80100_intf[] = {
        }, {
                .name = "intf_7", .id = INTF_7,
                .base = 0x3b000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_2,   /* pair with intf_6 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 18),
@@ -375,7 +375,7 @@ static const struct dpu_intf_cfg x1e80100_intf[] = {
        }, {
                .name = "intf_8", .id = INTF_8,
                .base = 0x3c000, .len = 0x280,
-               .type = INTF_NONE,
+               .type = INTF_DP,
                .controller_id = MSM_DP_CONTROLLER_1,   /* pair with intf_4 for 
DP MST */
                .prog_fetch_lines_worst_case = 24,
                .intr_underrun = DPU_IRQ_IDX(MDP_SSPP_TOP0_INTR, 12),

---
base-commit: 6d7e7251d03f98f26f2ee0dfd21bb0a0480a2178
change-id: 20251125-mdss_catalog-3af878fb6fcb

Best regards,
-- 
Yongxing Mou <[email protected]>

Reply via email to