Re: [PATCH v5 00/12] drm/msm: Add SC8280XP support

Steev Klimaszewski
2022-12-09T02:49:27Z

On Wed, Dec 7, 2022 at 4:00 PM Bjorn Andersson
<quic_bjorande@quicinc.com> wrote:
>
> This introduces support for the SC8280XP platform in the MDSS, DPU and
> DP driver. It reworks the HDP handling in the DP driver to support
> external HPD sources - such as the dp-connector, or USB Type-C altmode.
>
> It then introduces the display clock controllers, mdss, dpu and
> displayport controllers and link everything together, for both the MDSS
> instances on the platform, and lastly enables EDP on the compute
> reference device and 6 of the MiniDP outputs on the automotive
> development platform.
>
>
> The patches was previously sent separately, but submitting them together
> here as they (except dts addition) goes in the same tree.
>
> Bjorn Andersson (12):
> dt-bindings: display/msm: Add binding for SC8280XP MDSS
> drm/msm/dpu: Introduce SC8280XP
> drm/msm: Introduce SC8280XP MDSS
> dt-bindings: msm/dp: Add SDM845 and SC8280XP compatibles
> drm/msm/dp: Stop using DP id as index in desc
> drm/msm/dp: Add DP and EDP compatibles for SC8280XP
> drm/msm/dp: Add SDM845 DisplayPort instance
> drm/msm/dp: Rely on hpd_enable/disable callbacks
> drm/msm/dp: Implement hpd_notify()
> arm64: dts: qcom: sc8280xp: Define some of the display blocks
> arm64: dts: qcom: sc8280xp-crd: Enable EDP
> arm64: dts: qcom: sa8295-adp: Enable DP instances
>
> .../bindings/display/msm/dp-controller.yaml | 3 +
> .../display/msm/qcom,sc8280xp-dpu.yaml | 122 +++
> .../display/msm/qcom,sc8280xp-mdss.yaml | 143 +++
> arch/arm64/boot/dts/qcom/sa8295p-adp.dts | 243 ++++-
> arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 72 +-
> arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 838 ++++++++++++++++++
> .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 217 +++++
> .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 +
> .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.c | 18 +
> .../gpu/drm/msm/disp/dpu1/dpu_hw_interrupts.h | 3 +
> drivers/gpu/drm/msm/disp/dpu1/dpu_hw_mdss.h | 2 +
> drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 1 +
> drivers/gpu/drm/msm/dp/dp_display.c | 151 ++--
> drivers/gpu/drm/msm/dp/dp_display.h | 1 +
> drivers/gpu/drm/msm/dp/dp_drm.c | 3 +
> drivers/gpu/drm/msm/dp/dp_drm.h | 4 +
> drivers/gpu/drm/msm/msm_drv.h | 1 +
> drivers/gpu/drm/msm/msm_mdss.c | 4 +
> 18 files changed, 1770 insertions(+), 57 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sc8280xp-dpu.yaml
> create mode 100644 Documentation/devicetree/bindings/display/msm/qcom,sc8280xp-mdss.yaml
>
> --
> 2.37.3
>

Tested on Lenovo Thinkpad X13s
Tested-by: Steev Klimaszewski <steev@kali.org>