public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: linux-omap@vger.kernel.org
Subject: ISP buffer issue
Date: Tue, 04 Aug 2009 06:00:42 -0600	[thread overview]
Message-ID: <4A7822EA.2020300@mlbassoc.com> (raw)

I'm having trouble with the OMAP3 camera (ISP) support when
I have a large sensor.  I'm working with a 3M CCD sensor which
has a native resolution of 2048x1536.  The problem is when I
run V4L2 code which tries to allocate & map buffers for input
streaming.  If the frame is much bigger than PAL size (720x576)
the system hangs.

I traced this into the ISP layer and found that when the
buffer being allocated is over 1MB, this happens:
  isp_tmp_buf_alloc: allocating 1531904 bytes
which eventually fails in iommu_vmalloc()

Looking at the code, there seems to be some magic here - the
buffer allocation falls over if the request is large.  I'm
working from this code:
  http://arago-project.org/git/people/vaibhav/ti-psp-omap-video.git
starting from commit (ti_display head on 2009-07-23)
  6810d6d683e768c3bc6b5647c214804045665e22

Ideas?

Thanks

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

             reply	other threads:[~2009-08-04 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 12:00 Gary Thomas [this message]
2009-08-06 14:30 ` ISP buffer issue Gary Thomas
2009-08-06 14:47   ` Hiroshi DOYU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A7822EA.2020300@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=linux-omap@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox