Linux Media Controller development
 help / color / mirror / Atom feed
* V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high
@ 2019-10-20 14:45 Adam Ford
  2019-10-20 18:02 ` Laurent Pinchart
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Ford @ 2019-10-20 14:45 UTC (permalink / raw)
  To: Linux-OMAP, linux-media, Sakari Ailus, Laurent Pinchart,
	H. Nikolaus Schaller

I am running a DM3730 connected to an mt9p031 sensor, and the ISP is
running in 8-bit parallel mode.

I have the sensor endpoint configured as:

mt9p031_out: endpoint {
     input-clock-frequency = <24000000>;
     pixel-clock-frequency = <72000000>;
     remote-endpoint = <&ccdc_ep>;
};

I was looking through the datasheet, and it appears as if the pixel
clock frequency can go up to 96MHz, so I tried to increase the
pixel-clock-frequency to 96MHz, but v4l2 seems to get an out of memory
error.

libv4l2: error turning on stream: No space left on device
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed
to allocate required memory.
Additional debug info:
gstv4l2src.c(658): gst_v4l2src_decide_allocation ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
Buffer pool activation failed
Execution ended after 0:00:00.019073486

Through trial and error, I was able to get push the sensor's
pixel-clock-frequency to work at 90MHz, but no higher.  I have also
tried experimenting with the input clock frequency without success.

If I can get the clock to run at 96MHz, which the ISP and sensor
documentation appears to permit, I am hoping to be able to achieve a
little higher frame rate.

Is there something I need to do to allocate more memory to V4L2 or is
there some other limitation causing the out of memory at higher pixel
clock frequencies?


thank you,

adam

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

end of thread, other threads:[~2019-10-23 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-20 14:45 V4L2 runs out of memory when OMAP3 ISP parallel pixel clock is high Adam Ford
2019-10-20 18:02 ` Laurent Pinchart
2019-10-20 19:16   ` Adam Ford
2019-10-23 12:35     ` Adam Ford

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