From: Mike Rapoport <mike@compulab.co.il>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: video4linux-list@redhat.com
Subject: Re: pxa_camera: DMA alignment requirement
Date: Sun, 16 Nov 2008 09:30:07 +0200 [thread overview]
Message-ID: <491FCBFF.9060208@compulab.co.il> (raw)
In-Reply-To: <87ljvktqtv.fsf@free.fr>
Robert Jarzmik wrote:
> Mike Rapoport <mike@compulab.co.il> writes:
>
>> Robert Jarzmik wrote:
>>> Hello,
>>>
>>> In the pxa camera driver, the 3 DMA channels used are MMU page aligned. Does
>>> somebody remember where that constraint comes from ?
>>>
>> As far as I remember, the buffers should be page aligned to allow overlaying of
>> captured data.
> Ah, so that's it, thanks.
>
>>From what I read on the PXA manual, the only constraint is 16bytes
> alignement. Would you also remember who wrote the code, so that I can ask him
> where he read about page alignement constraint please ?
Just by coincidence it was me :)
I used pxafb_overlay from [1], and my (mis)understanding of what it does added
the page alignment constrain. Now looking at the overlay code once more, I'm not
sure if it's necessary.
---
[1] http://www.rpsys.net/openzaurus/patches/archive/pxa27x_overlay-r8.patch
> Cheers.
>
> --
> Robert
>
--
Sincerely yours,
Mike.
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
next prev parent reply other threads:[~2008-11-16 7:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-09 17:01 pxa_camera: DMA alignment requirement Robert Jarzmik
2008-11-13 10:23 ` Mike Rapoport
2008-11-16 1:14 ` Robert Jarzmik
2008-11-16 7:30 ` Mike Rapoport [this message]
2008-11-25 21:18 ` Robert Jarzmik
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=491FCBFF.9060208@compulab.co.il \
--to=mike@compulab.co.il \
--cc=robert.jarzmik@free.fr \
--cc=video4linux-list@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.