From: randy.dunlap@oracle.com (Randy Dunlap)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC v2 7/8] TILER-DMM: Main TILER driver implementation
Date: Tue, 30 Nov 2010 11:57:10 -0800 [thread overview]
Message-ID: <20101130115710.841c7857.randy.dunlap@oracle.com> (raw)
In-Reply-To: <1291147139-23472-8-git-send-email-davidsin@ti.com>
On Tue, 30 Nov 2010 13:58:58 -0600 David Sin wrote:
> From: Lajos Molnar <molnar@ti.com>
>
> This patch contains the TILER driver and implementation of the TILER
> block manipulation and mapping functions.
>
> It also contains the makefile and config file for the TILER driver.
>
> Signed-off-by: Lajos Molnar <molnar@ti.com>
> Signed-off-by: David Sin <davidsin@ti.com>
> ---
> arch/arm/mach-omap2/Makefile | 1 +
> drivers/misc/tiler/Kconfig | 72 +++++++
> drivers/misc/tiler/Makefile | 7 +
> drivers/misc/tiler/tiler-iface.c | 66 ++++++
> drivers/misc/tiler/tiler-main.c | 405 ++++++++++++++++++++++++++++++++++++++
> 5 files changed, 551 insertions(+), 0 deletions(-)
> create mode 100644 drivers/misc/tiler/Kconfig
> create mode 100644 drivers/misc/tiler/Makefile
> create mode 100644 drivers/misc/tiler/tiler-iface.c
> create mode 100644 drivers/misc/tiler/tiler-main.c
> diff --git a/drivers/misc/tiler/Kconfig b/drivers/misc/tiler/Kconfig
> new file mode 100644
> index 0000000..9b8bfed
> --- /dev/null
> +++ b/drivers/misc/tiler/Kconfig
> @@ -0,0 +1,72 @@
> +config HAVE_TI_DMM
> + bool
> + default y
> + depends on ARCH_OMAP4
> +
> +menuconfig TI_DMM
> + tristate "TI DMM support"
> + default y
> + depends on HAVE_TI_DMM
> + help
> + DMM driver for TI chips.
> +
> +menuconfig TI_TILER
> + tristate "TI TILER support"
> + default y
> + depends on TI_DMM
> + help
> + TILER driver for TI chips. The TI TILER device
> + enables video rotation on certain TI chips such as OMAP4 or
> + TI816x. Video rotation will be limited without TILER support.
> +
> +config TILER_GRANULARITY
> + int "Allocation granularity (2^n)"
Having (2^n) in the prompt makes me think that the value set here is "n",
but that's not the case. I suggest removing (2^n) here...
> + range 1 4096
> + default 128
> + depends on TI_TILER
> + help
> + This option sets the default TILER allocation granularity. It can
> + be overriden by the tiler.grain boot argument.
> +
> + The allocation granularity is the smallest TILER block size (in
> + bytes) managed distinctly by the TILER driver. TILER blocks of any
> + size are managed in chunks of at least this size.
> +
> + Must be a 2^n in the range of 1 to 4096; however, the TILER driver
and changing 2^n here to just say:
Must be a power of 2 in the range of 1 to 4096; however, ...
and then same 2 comments again repeated below.
> + may use a larger supported granularity.
> +
> + Supported values are: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024,
> + 2048, 4096.
> +
> +config TILER_ALIGNMENT
> + int "Allocation alignment (2^n)"
> + range 1 4096
> + default 4096
> + depends on TI_TILER
> + help
> + This option sets the default TILER allocation alignment. It can
> + be overriden by the tiler.align boot argument.
> +
> + Must be a 2^n in the range of 1 to 4096; however, it is naturally
> + aligned to the TILER granularity.
> +
> + Supported values are: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024,
> + 2048, 4096.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2010-11-30 19:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-30 19:58 [RFC v2 0/8] TI DMM-TILER driver David Sin
2010-11-30 19:58 ` [RFC v2 1/8] TILER-DMM: DMM-PAT driver for TI TILER David Sin
2010-12-01 6:04 ` Varadarajan, Charulatha
2010-12-02 2:10 ` Kanigeri, Hari
2010-12-02 2:27 ` Kanigeri, Hari
2010-12-02 5:16 ` Varadarajan, Charulatha
2010-12-02 10:23 ` Hari Kanigeri
2010-12-02 10:31 ` Varadarajan, Charulatha
2010-11-30 19:58 ` [RFC v2 2/8] TILER-DMM: Container manager interface and utility definitons David Sin
2010-11-30 19:58 ` [RFC v2 3/8] TILER-DMM: Sample TCM implementation: Simple TILER Allocator (SiTA) David Sin
2010-11-30 19:58 ` [RFC v2 4/8] TILER-DMM: TILER Memory Manager interface and implementation David Sin
2010-11-30 19:58 ` [RFC v2 5/8] TILER-DMM: TILER interface file and documentation David Sin
2010-12-01 0:53 ` Greg KH
2010-11-30 19:58 ` [RFC v2 6/8] TILER-DMM: Geometry and view manipulation functions David Sin
2010-12-01 0:55 ` Greg KH
2010-11-30 19:58 ` [RFC v2 7/8] TILER-DMM: Main TILER driver implementation David Sin
2010-11-30 19:57 ` Randy Dunlap [this message]
2010-11-30 19:58 ` [RFC v2 8/8] TILER-DMM: Linking TILER driver into the Linux kernel build David Sin
2010-12-01 0:56 ` Greg KH
2010-12-02 13:46 ` David Sin
2010-12-01 6:47 ` [RFC v2 0/8] TI DMM-TILER driver Varadarajan, Charulatha
2010-12-02 13:52 ` David Sin
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=20101130115710.841c7857.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle.com \
--cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).