mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] media: qcom: camss: Interconnect votes for SDM845
@ 2026-11-22  5:13 EMCP333 via B4 Relay
  2026-11-22  5:13 ` [PATCH 1/3] dt-bindings: media: qcom,sdm845-camss: Add interconnects EMCP333 via B4 Relay
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: EMCP333 via B4 Relay @ 2026-11-22  5:13 UTC (permalink / raw)
  To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain
  Cc: Bryan O'Donoghue, Mauro Carvalho Chehab, Robert Foss,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Bjorn Andersson,
	Konrad Dybcio, Abel Vesa, linux-media, linux-arm-msm, devicetree,
	linux-kernel, EMCP333

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>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-22 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-22  5:13 [PATCH 0/3] media: qcom: camss: Interconnect votes for SDM845 EMCP333 via B4 Relay
2026-11-22  5:13 ` [PATCH 1/3] dt-bindings: media: qcom,sdm845-camss: Add interconnects EMCP333 via B4 Relay
2026-11-22 12:15   ` Bryan O'Donoghue
2026-11-22  5:13 ` [PATCH 2/3] media: qcom: camss: Vote interconnect bandwidth on SDM845 EMCP333 via B4 Relay
2026-11-22  5:13 ` [PATCH 3/3] arm64: dts: qcom: sdm845: Add CAMSS interconnects EMCP333 via B4 Relay
2026-11-22 12:31   ` Bryan O'Donoghue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®