Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] drm/msm/dp: Nord MDSS1 DP addresses conflated into msm_dp_desc_sa8775p --
commit 6b66b87c7c0f8126edbb2e4884fc52558e35dbef Author: Mahadevan P <[email protected]> drm/msm/dp: Add support for DP controllers on Nord This commit appends the two Nord MDSS1 DisplayPort controller IO start addresses (0x08d54000 and 0x08d5c000) to the existing msm_dp_desc_sa8775p descriptor table. > diff --git a/drivers/gpu/drm/msm/dp/dp_display.c > b/drivers/gpu/drm/msm/dp/dp_display.c > index c0c150e2c5758..eda3175b0406d 100644 > --- a/drivers/gpu/drm/msm/dp/dp_display.c > +++ b/drivers/gpu/drm/msm/dp/dp_display.c > @@ -115,6 +115,8 @@ static const struct msm_dp_desc msm_dp_desc_sa8775p[] = { > { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, > .wide_bus_supported = true }, > { .io_start = 0x22154000, .id = MSM_DP_CONTROLLER_0, > .wide_bus_supported = true }, > { .io_start = 0x2215c000, .id = MSM_DP_CONTROLLER_1, > .wide_bus_supported = true }, > + { .io_start = 0x08d54000, .id = MSM_DP_CONTROLLER_0, > .wide_bus_supported = true }, > + { .io_start = 0x08d5c000, .id = MSM_DP_CONTROLLER_1, > .wide_bus_supported = true }, > {} > }; [Severity: Low] Should Nord have its own msm_dp_desc_nord table and qcom,nord-dp entry in msm_dp_dt_match instead of appending its MDSS1 addresses to msm_dp_desc_sa8775p? Every other table in dp_display.c covers a single SoC memory map, even when SoCs share base addresses. Since msm_dp_display_get_desc() matches strictly on absolute res->start, an unmodified qcom,sa8775p-dp driver cannot probe Nord MDSS1 anyway, so there is no compatibility gain from sharing the table. Conflating the two SoCs leaves msm_dp_desc_sa8775p with non-SA8775P addresses and risks regressions if per-SoC capabilities or address maps diverge later. The DT binding already defines qcom,nord-dp ahead of qcom,sa8775p-dp. -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=8
