public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] media: nxp: imx8-isi: Fix single frame capture and optimize buffer usage
@ 2026-03-11  8:02 Guoniu Zhou
  2026-03-11  8:02 ` [PATCH 1/2] media: nxp: imx8-isi: Reduce minimum queued buffers from 2 to 1 Guoniu Zhou
  2026-03-11  8:02 ` [PATCH 2/2] media: nxp: imx8-isi: Prioritize pending buffers over discard buffers Guoniu Zhou
  0 siblings, 2 replies; 9+ messages in thread
From: Guoniu Zhou @ 2026-03-11  8:02 UTC (permalink / raw)
  To: Laurent Pinchart, Mauro Carvalho Chehab, Frank Li, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam
  Cc: linux-media, imx, linux-arm-kernel, linux-kernel, Alexi Birlinger,
	Guoniu Zhou

This series fixes a hang issue when capturing single frames and improves
buffer utilization by prioritizing user buffers over discard buffers.

Patch 1 reduces min_queued_buffers to allow streaming with a single buffer,
fixing hangs in applications like libcamera's cam tool.

Patch 2 changes the buffer selection logic to use pending user buffers first,
minimizing unnecessary frame drops at stream start.

Signed-off-by: Guoniu Zhou <guoniu.zhou@nxp.com>
---
Guoniu Zhou (2):
      media: nxp: imx8-isi: Reduce minimum queued buffers from 2 to 1
      media: nxp: imx8-isi: Prioritize pending buffers over discard buffers

 drivers/media/platform/nxp/imx8-isi/imx8-isi-video.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260310-isi_min_buffers-4b490a124223

Best regards,
-- 
Guoniu Zhou <guoniu.zhou@nxp.com>


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

end of thread, other threads:[~2026-03-12  2:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11  8:02 [PATCH 0/2] media: nxp: imx8-isi: Fix single frame capture and optimize buffer usage Guoniu Zhou
2026-03-11  8:02 ` [PATCH 1/2] media: nxp: imx8-isi: Reduce minimum queued buffers from 2 to 1 Guoniu Zhou
2026-03-11 12:50   ` Jacopo Mondi
2026-03-12  2:21     ` G.N. Zhou (OSS)
2026-03-11 15:22   ` Frank Li
2026-03-12  2:22     ` G.N. Zhou (OSS)
2026-03-11  8:02 ` [PATCH 2/2] media: nxp: imx8-isi: Prioritize pending buffers over discard buffers Guoniu Zhou
2026-03-11 15:33   ` Frank Li
2026-03-12  2:29     ` G.N. Zhou (OSS)

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