[PATCH 0/3] media: qcom: camss: Interconnect votes for SDM845

EMCP333 via B4 Relay posted 3 patches 2 days, 6 hours ago
.../bindings/media/qcom,sdm845-camss.yaml          | 20 +++++++++++++++++
arch/arm64/boot/dts/qcom/sdm845.dtsi               | 10 +++++++++
drivers/media/platform/qcom/camss/camss.c          | 26 ++++++++++++++++++++++
3 files changed, 56 insertions(+)
[PATCH 0/3] media: qcom: camss: Interconnect votes for SDM845
Posted by EMCP333 via B4 Relay 2 days, 6 hours ago
CAMSS on SDM845 declares no interconnect paths, so it never votes for
memory bandwidth and runs on whatever the display happens to hold. With
the display off, capture stalls: on a OnePlus 6T, 8 of 10 1080p
captures stopped after 0-1 frames, against 10 of 10 complete with the
display on.

Patch 1 allows the four paths in the binding, patch 2 gives the driver
a bandwidth table for SDM845, and patch 3 adds the paths to sdm845.dtsi.

Patches 1 and 2 are for the media tree and patch 3 for the Qualcomm
tree. The driver gets a NULL path, and so no votes, from a device tree
without the paths, so patch 2 is safe on its own; patch 3 needs patch
1 for dtbs_check.

Tested on the phone with the postmarketOS sdm845 kernel (6.18): with
the display off, 10 of 10 1080p captures of 100 frames complete, and
the camnoc HF ports vote while streaming and not when idle. On
v7.4-rc2, dt_binding_check and dtbs_check are clean and camss builds
with W=1 and no warnings.

The same three commits also ran on v7.4-rc3: with the display off, 10
of 10 captures of 100 frames, no camss errors, and the camss bandwidth
requests go from zero to non-zero while streaming and back to zero
after.

---
EMCP333 (3):
      dt-bindings: media: qcom,sdm845-camss: Add interconnects
      media: qcom: camss: Vote interconnect bandwidth on SDM845
      arm64: dts: qcom: sdm845: Add CAMSS interconnects

 .../bindings/media/qcom,sdm845-camss.yaml          | 20 +++++++++++++++++
 arch/arm64/boot/dts/qcom/sdm845.dtsi               | 10 +++++++++
 drivers/media/platform/qcom/camss/camss.c          | 26 ++++++++++++++++++++++
 3 files changed, 56 insertions(+)
---
base-commit: 7475ea8b58616b33c04afb976cf0fbaad9dd63fb
change-id: 20261122-b4-camss-sdm845-icc-1d4cd8c3ec17

Best regards,
--  
EMCP333 <emcp@enser.io>