public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] media: stm32: dcmi: stability & performance enhancements
@ 2025-12-18 18:44 Alain Volmat
  2025-12-18 18:44 ` [PATCH 01/12] media: stm32: dcmi: Switch from __maybe_unused to pm_sleep_ptr() Alain Volmat
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Alain Volmat @ 2025-12-18 18:44 UTC (permalink / raw)
  To: Hugues Fruchet, Mauro Carvalho Chehab, Maxime Coquelin,
	Alexandre Torgue, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Sumit Semwal, Christian König
  Cc: linux-media, linux-stm32, linux-arm-kernel, linux-kernel,
	devicetree, dri-devel, linaro-mm-sig, Alain Volmat

This series improve stability of the capture by fixing the
handling of the overrun which was leading to captured
frame corruption.
Locking within the driver is also simplified and the way
DMA is handled is reworked allowing to avoid having a
specific handling for the JPEG data.

Performances of capture can now be increased via the usage
of a DMA->MDMA chaining which allows for capture of higher
resolution / framerate.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
---
Alain Volmat (12):
      media: stm32: dcmi: Switch from __maybe_unused to pm_sleep_ptr()
      media: stm32: dcmi: perform dmaengine_slave_config at probe
      media: stm32: dcmi: only create dma descriptor once at buf_prepare
      media: stm32: dcmi: stop the dma transfer on overrun
      media: stm32: dcmi: rework spin_lock calls
      media: stm32: dcmi: perform all dma handling within irq_thread
      media: stm32: dcmi: use dmaengine_terminate_async in irq context
      media: stm32: dcmi: continuous mode capture in JPEG
      dt-bindings: media: st: dcmi: add DMA-MDMA chaining properties
      media: stm32: dcmi: addition of DMA-MDMA chaining support
      ARM: dts: stm32: add sram node within stm32mp151.dtsi
      ARM: dts: stm32: enable DCMI DMA-MDMA chaining on stm32mp157c-ev1.dts

 .../devicetree/bindings/media/st,stm32-dcmi.yaml   |  13 +-
 arch/arm/boot/dts/st/stm32mp151.dtsi               |   8 +
 arch/arm/boot/dts/st/stm32mp157c-ev1.dts           |  15 +
 drivers/media/platform/st/stm32/stm32-dcmi.c       | 470 ++++++++++++++-------
 4 files changed, 341 insertions(+), 165 deletions(-)
---
base-commit: f7231cff1f3ff8259bef02dc4999bc132abf29cf
change-id: 20251213-stm32-dcmi-dma-chaining-9ea1da83007d

Best regards,
-- 
Alain Volmat <alain.volmat@foss.st.com>


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

end of thread, other threads:[~2025-12-29 23:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-18 18:44 [PATCH 00/12] media: stm32: dcmi: stability & performance enhancements Alain Volmat
2025-12-18 18:44 ` [PATCH 01/12] media: stm32: dcmi: Switch from __maybe_unused to pm_sleep_ptr() Alain Volmat
2025-12-20 17:15   ` kernel test robot
2025-12-18 18:44 ` [PATCH 02/12] media: stm32: dcmi: perform dmaengine_slave_config at probe Alain Volmat
2025-12-18 18:44 ` [PATCH 03/12] media: stm32: dcmi: only create dma descriptor once at buf_prepare Alain Volmat
2025-12-18 18:44 ` [PATCH 04/12] media: stm32: dcmi: stop the dma transfer on overrun Alain Volmat
2025-12-18 18:44 ` [PATCH 05/12] media: stm32: dcmi: rework spin_lock calls Alain Volmat
2025-12-18 18:44 ` [PATCH 06/12] media: stm32: dcmi: perform all dma handling within irq_thread Alain Volmat
2025-12-18 18:44 ` [PATCH 07/12] media: stm32: dcmi: use dmaengine_terminate_async in irq context Alain Volmat
2025-12-18 18:44 ` [PATCH 08/12] media: stm32: dcmi: continuous mode capture in JPEG Alain Volmat
2025-12-18 18:44 ` [PATCH 09/12] dt-bindings: media: st: dcmi: add DMA-MDMA chaining properties Alain Volmat
2025-12-29 23:39   ` Rob Herring
2025-12-18 18:44 ` [PATCH 10/12] media: stm32: dcmi: addition of DMA-MDMA chaining support Alain Volmat
2025-12-18 18:44 ` [PATCH 11/12] ARM: dts: stm32: add sram node within stm32mp151.dtsi Alain Volmat
2025-12-18 18:44 ` [PATCH 12/12] ARM: dts: stm32: enable DCMI DMA-MDMA chaining on stm32mp157c-ev1.dts Alain Volmat

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