public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* ISP CCDC freeze-up on STREAMON
@ 2011-06-30  8:31 Michael Jones
  2011-06-30  8:31 ` prompt " Michael Jones
  2011-07-20  8:47 ` Laurent Pinchart
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Jones @ 2011-06-30  8:31 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: linux-media

Hi Laurent,

I'm observing a system freeze-up with the ISP when writing data to memory directly from the ccdc.

Here's the sequence I'm using:

0. apply the patch I'm sending separate in this thread.

1. configure the ISP pipeline for the CCDC to deliver V4L2_PIX_FMT_GREY directly from the sensor to memory.

2. yavta -c10 /dev/video2

The patch is pretty self-explanatory.  It introduces a loop (with ugly indenting to keep the patch simple) with 100 iterations leaving the device open between them. My system usually hangs up within the first 30 iterations.  I've never made it to 100 successfully.  I see the same behavior with user pointers and with mmap, but I don't see it when using data from the previewer.

Can you please try this out with your setup?  Even if you can't get 8-bit gray data from your sensor, hopefully you could observe it with any other format directly from the CCDC.

I'll postpone further discussion until you confirm that you can reproduce the behavior.  As the patch illustrates, it looks like it is hanging up in STREAMON.

-Michael

Michael Jones (1):
  prompt ISP CCDC freeze-up on STREAMON

 yavta.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

-- 
1.7.5.4


MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner

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

end of thread, other threads:[~2011-08-08  9:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30  8:31 ISP CCDC freeze-up on STREAMON Michael Jones
2011-06-30  8:31 ` prompt " Michael Jones
2011-07-20  8:47 ` Laurent Pinchart
2011-08-05  9:33   ` Michael Jones
2011-08-06 23:38     ` Sakari Ailus
2011-08-08  9:55     ` Laurent Pinchart

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