From: Russell King <rmk@arm.linux.org.uk>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>, Linus Torvalds <torvalds@osdl.org>
Subject: [PREWARN] ARM DMA API extension
Date: Mon, 3 Jan 2005 23:27:01 +0000 [thread overview]
Message-ID: <20050103232701.H3442@flint.arm.linux.org.uk> (raw)
Ok, I'm planning to push these changes to Linus imminently (iow, tomorrow)
- they were discussed back in March 2003 (or was it 2004?) on various
mailing lists and I think it's about time I threw them out of my private
tree into something more public, especially as some drivers depend on them.
You can review a copy of the diff at:
http://www.arm.linux.org.uk/~rmk/misc/linus-dma.diff
Discussion ground to a halt on the exact nature of the API, so I've gone
with my proposed ideas back then. I hope no one's going to complain.
Comments only at this stage please.
diffstat:
arch/arm/mach-integrator/impd1.c | 13 +++++++
arch/arm/mach-integrator/integrator_cp.c | 9 ++++
arch/arm/mach-versatile/core.c | 9 ++++
arch/arm/mm/consistent.c | 56 ++++++++++++++++++++++++++++++-
drivers/video/amba-clcd.c | 18 +++++++++
drivers/video/pxafb.c | 15 ++++++++
drivers/video/sa1100fb.c | 32 ++++++++++++++++-
include/asm-arm/dma-mapping.h | 19 ++++++++++
include/asm-arm/hardware/amba_clcd.h | 5 ++
9 files changed, 173 insertions(+), 3 deletions(-)
ChangeSets:
<rmk@flint.arm.linux.org.uk> (05/01/02 1.2091)
[ARM] Add DMA mmap support for SA1100/PXA framebuffer drivers.
Since the framebuffers are allocated via dma_alloc_writecombine() we
should use the DMA mmap interface to map these buffers.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
<rmk@flint.arm.linux.org.uk> (04/12/31 1.2090)
[ARM] Add CLCD driver mmap method and callbacks.
Convert CLCD driver such that boards can use the dma_mmap_*()
interfaces where appropriate.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
<rmk@flint.arm.linux.org.uk> (04/12/30 1.2089)
[ARM] Add DMA mmap() support.
This adds DMA mmap() support for the ARM architecture, as discussed
around March 2003 on the linux-arch and linux-kernel mailing lists.
Subsystems such as ALSA (for sample ring buffers) and video drivers
(for framebuffers in system memory) require this infrastructure to
provide userspace with an architecture clean method to mmap these
memory areas.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
--
Russell King
reply other threads:[~2005-01-03 23:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050103232701.H3442@flint.arm.linux.org.uk \
--to=rmk@arm.linux.org.uk \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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