drm/msm/dp: fix the intf_type of MST interfaces
PATCH v4 1/1 drm/msm/dp: fix the intf_type of MST interfaces
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.
---
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(-)
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h +3 -3
@@ -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),
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h +6 -6
@@ -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),
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h +3 -3
@@ -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,
Signature · 1 line
Yongxing Mou <[email protected]>
Quoted 9 lines · Yongxing Mou
From: Abhinav Kumar <[email protected]>
Interface type of MST interfaces is currently
INTF_NONE. Update this toINTF_DP. And correct theintf_6intr_underrun/intr_vsync index fordpu_8_4_sa8775p.Signed-off-by Abhinav Kumar <[email protected]>Signed-off-by Yongxing Mou <[email protected]>Reviewed-by Dmitry Baryshkov <[email protected]>
Quoted 6 lines
---
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.
Why?
Quoted 17 lines
- 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(-)drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h +0
-0@@ -363,15 +363,15 @@ static const struct dpu_intf_cfg sa8775p_intf[] = { }, {
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h static const struct dpu_intf_cfg sa8775p_intf[] = { · line 370
Quoted 10 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h +3
-3.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),
This is a separate fix, it should be a separate patch.
Signature · 2 lines
With best wishes Dmitry
Quoted 17 lines · Dmitry Baryshkov
Quoted 9 lines · Yongxing Mou
From: Abhinav Kumar <[email protected]>
Interface type of MST interfaces is currently
INTF_NONE. Update this toINTF_DP. And correct theintf_6intr_underrun/intr_vsync index fordpu_8_4_sa8775p.Signed-off-by Abhinav Kumar <[email protected]>Signed-off-by Yongxing Mou <[email protected]>Reviewed-by Dmitry Baryshkov <[email protected]>Quoted 6 lines
---
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.
Quoted 2 lines
Why?
I would like to send out some patches that are independent and have no dependencies on the overall series, to make maintenance and review easier. For example, in V3, patches 1, 29, 33, and 37. I mentioned this approach in the first patch of V3 before. Please let me know if this is appropriate. If not, I will stop immediately.
Quoted 15 lines
Quoted 15 lines
- 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(-)
Quoted 15 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h static const struct dpu_intf_cfg sa8775p_intf[] = { · line 370
Quoted 12 lines
drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h +3
-3@@ -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),This is a separate fix, it should be a separate patch.
Got that, thanks..
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 20 lines · Yongxing Mou
Quoted 17 lines · Dmitry Baryshkov
Quoted 15 lines · Yongxing Mou
From: Abhinav Kumar <[email protected]>
Interface type of MST interfaces is currently
INTF_NONE. Update this toINTF_DP. And correct theintf_6intr_underrun/intr_vsync index fordpu_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/20250825-msm-dp-mst- [email protected]/
---
Changes in v4:
- Splite chagne out from the MST V3 series.
Quoted 3 lines
Quoted 2 lines
Why?
i just want to spelieete
Sorry, please ignore this message and move to the other reply.>> - Link to v3: https://lore.kernel.org/
Quoted 35 lines
all/[email protected]/
Quoted 33 lines
Quoted 24 lines
Changes in v3:
- Fix through the whole catalog
- Link to v2: https://lore.kernel.org/all/20250609-msm-dp-mst-v2-37-
[email protected]/Changes in v2:
- Change the patch order in the series.
- Link to v1: https://lore.kernel.org/all/20241205-dp_mst-v1-3-
[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(-)drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_4_sa8775p.h +1
-1@@ -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,Quoted 6 lines
.controller_id = MSM_DP_CONTROLLER_0, /* pair with
intf_0for 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),This is a separate fix, it should be a separate patch.