From: Kyungmin Park <kmpark@infradead.org>
To: johan.xx.mossberg@stericsson.com
Cc: linux-mm@kvack.org, linaro-dev@lists.linaro.org,
linux-media@vger.kernel.org,
gstreamer-devel@lists.freedesktop.org, m.nazarewicz@samsung.com,
"Michal Nazarewicz" <mina86@mina86.com>,
"Marek Szyprowski" <m.szyprowski@samsung.com>,
강민규 <mk7.kang@samsung.com>, 대인기 <inki.dae@samsung.com>
Subject: Re: [PATCHv2 0/3] hwmem: Hardware memory driver
Date: Thu, 10 Mar 2011 11:48:51 +0900 [thread overview]
Message-ID: <AANLkTi=Q6YRbRs1HHNEESxfCsu7_BeDXwfriDFLLrb85@mail.gmail.com> (raw)
In-Reply-To: <1299673133-26464-1-git-send-email-johan.xx.mossberg@stericsson.com>
Hi,
CCed updated Michal email address,
One note, As Michal moved to google, Marek is works on CMA. We are
also studying the hwmem and GEM.
Thank you,
Kyungmin Park
On Wed, Mar 9, 2011 at 9:18 PM, <johan.xx.mossberg@stericsson.com> wrote:
> Hello everyone,
>
> The following patchset implements a "hardware memory driver". The
> main purpose of hwmem is:
>
> * To allocate buffers suitable for use with hardware. Currently
> this means contiguous buffers.
> * To synchronize the caches for the allocated buffers. This is
> achieved by keeping track of when the CPU uses a buffer and when
> other hardware uses the buffer, when we switch from CPU to other
> hardware or vice versa the caches are synchronized.
> * To handle sharing of allocated buffers between processes i.e.
> import, export.
>
> Hwmem is available both through a user space API and through a
> kernel API.
>
> Here at ST-Ericsson we use hwmem for graphics buffers. Graphics
> buffers need to be contiguous due to our hardware, are passed
> between processes (usually application and window manager)and are
> part of usecases where performance is top priority so we can't
> afford to synchronize the caches unecessarily.
>
> Additions in v2:
> * Bugfixes
> * Added the possibility to map hwmem buffers in the kernel through
> hwmem_kmap/kunmap
> * Moved mach specific stuff to mach.
>
> Best regards
> Johan Mossberg
> Consultant at ST-Ericsson
>
> Johan Mossberg (3):
> hwmem: Add hwmem (part 1)
> hwmem: Add hwmem (part 2)
> hwmem: Add hwmem to ux500
>
> arch/arm/mach-ux500/Makefile | 2 +-
> arch/arm/mach-ux500/board-mop500.c | 1 +
> arch/arm/mach-ux500/dcache.c | 266 +++++++++
> arch/arm/mach-ux500/devices.c | 31 ++
> arch/arm/mach-ux500/include/mach/dcache.h | 26 +
> arch/arm/mach-ux500/include/mach/devices.h | 1 +
> drivers/misc/Kconfig | 1 +
> drivers/misc/Makefile | 1 +
> drivers/misc/hwmem/Kconfig | 7 +
> drivers/misc/hwmem/Makefile | 3 +
> drivers/misc/hwmem/cache_handler.c | 510 ++++++++++++++++++
> drivers/misc/hwmem/cache_handler.h | 61 +++
> drivers/misc/hwmem/hwmem-ioctl.c | 455 ++++++++++++++++
> drivers/misc/hwmem/hwmem-main.c | 799 ++++++++++++++++++++++++++++
> include/linux/hwmem.h | 536 +++++++++++++++++++
> 15 files changed, 2699 insertions(+), 1 deletions(-)
> create mode 100644 arch/arm/mach-ux500/dcache.c
> create mode 100644 arch/arm/mach-ux500/include/mach/dcache.h
> create mode 100644 drivers/misc/hwmem/Kconfig
> create mode 100644 drivers/misc/hwmem/Makefile
> create mode 100644 drivers/misc/hwmem/cache_handler.c
> create mode 100644 drivers/misc/hwmem/cache_handler.h
> create mode 100644 drivers/misc/hwmem/hwmem-ioctl.c
> create mode 100644 drivers/misc/hwmem/hwmem-main.c
> create mode 100644 include/linux/hwmem.h
>
> --
> 1.7.4.1
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2011-03-10 2:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 12:18 [PATCHv2 0/3] hwmem: Hardware memory driver johan.xx.mossberg
2011-03-09 12:18 ` [PATCHv2 1/3] hwmem: Add hwmem (part 1) johan.xx.mossberg
2011-03-09 12:18 ` [PATCHv2 2/3] hwmem: Add hwmem (part 2) johan.xx.mossberg
2011-03-09 12:18 ` [PATCHv2 3/3] hwmem: Add hwmem to ux500 johan.xx.mossberg
2011-03-10 2:48 ` Kyungmin Park [this message]
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='AANLkTi=Q6YRbRs1HHNEESxfCsu7_BeDXwfriDFLLrb85@mail.gmail.com' \
--to=kmpark@infradead.org \
--cc=gstreamer-devel@lists.freedesktop.org \
--cc=inki.dae@samsung.com \
--cc=johan.xx.mossberg@stericsson.com \
--cc=linaro-dev@lists.linaro.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=m.nazarewicz@samsung.com \
--cc=m.szyprowski@samsung.com \
--cc=mina86@mina86.com \
--cc=mk7.kang@samsung.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).