From: Sakari Ailus <sakari.ailus@nokia.com>
To: "ext Woodruff, Richard" <r-woodruff2@ti.com>
Cc: Tony Lindgren <tony@atomide.com>,
Trilok Soni <soni.trilok@gmail.com>,
"Pasam, Vijay" <vpasam@ti.com>,
Hiroshi DOYU <Hiroshi.DOYU@nokia.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
"felipe.contreras@gmail.com" <felipe.contreras@gmail.com>,
"siarhei.siamashka@nokia.com" <siarhei.siamashka@nokia.com>,
"Ramirez Luna, Omar" <x00omar@ti.com>,
"Gupta, Ramesh" <grgupta@ti.com>,
"Kanigeri, Hari" <h-kanigeri2@ti.com>,
"Jalori, Mohit" <mjalori@ti.com>
Subject: Re: [RFC][DRAFT] TODO list for TI DSP BRIDGE
Date: Wed, 20 Aug 2008 19:08:15 +0300 [thread overview]
Message-ID: <48AC416F.2050808@nokia.com> (raw)
In-Reply-To: <13B9B4C6EF24D648824FF11BE8967162036217F694@dlee02.ent.ti.com>
Hi,
ext Woodruff, Richard wrote:
>>> I think recently some one from TI posted OMAP3 camera driver at
>>> linux-v4l2 mailing list and which I think was using camera MMU,
>>> but not the common MMU framework it seems from the description.
>>> They should first start converting to the common MMU
>>> infrastructure then.
>>>
>>> http://lists-archives.org/video4linux/23215-omap3-camera-driver.html
>>>
>> We must make the MMU framework generic for the coprocessors,
>> otherwise maintenance will be a nightmare and the code will never
>> get merged upstream.
I agree with Tony.
Many implementations are more likely have more bugs than one, too.
> Main issues are at outer interfaces which deal with OS memory system
> interaction. The other aspects of the code have been self contained.
>
>
> The local MMU usages are not maintenance intensive like linux PTE
> structures as Linux more strongly couples with the hardware table
> representations.
>
> Seems some of the subsystems like v4l2 do provide local abstractions
> but there isn't always global ones (vmalloc to sg list for example).
The V4L2 provides functions for mapping the video buffers to kernel
memory, but that's not the point. The OMAP 3 ISP driver for example
would benefit from common MMU framework directly as it just wants to map
the video buffers continuously to some address and sometimes flush them.
Creating page tables for the mappings is necessary in practice.
This sounds very much like something that would be useful for a number
of drivers for OMAP 3 in addition to the ISP driver.
If there was a generic way for asking the MMU to map the buffer it
would be simple for the ISP driver to use that.
(Besides, it'd be easy to add MMU support for the OMAP 2 camera driver
as well if there was a generic framework. Aren't the MMUs similar or
even the same?? :))
(I'm adding Mohit Jalori to Cc:.)
Regards,
--
Sakari Ailus
sakari.ailus@nokia.com
next prev parent reply other threads:[~2008-08-20 16:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 13:35 [RFC][DRAFT] TODO list for TI DSP BRIDGE Hiroshi DOYU
2008-08-18 14:28 ` Pasam, Vijay
2008-08-18 15:08 ` Hiroshi DOYU
2008-08-18 17:12 ` Pasam, Vijay
2008-08-18 17:20 ` Trilok Soni
2008-08-19 6:20 ` Tony Lindgren
2008-08-19 12:26 ` Woodruff, Richard
2008-08-20 16:08 ` Sakari Ailus [this message]
2008-08-18 16:27 ` Kanigeri, Hari
2008-08-18 17:17 ` Trilok Soni
2008-08-18 19:28 ` Kanigeri, Hari
2008-08-18 20:08 ` Felipe Contreras
2008-08-19 6:24 ` Tony Lindgren
2008-08-19 18:24 ` Kanigeri, Hari
2008-08-19 19:10 ` Felipe Contreras
2008-08-19 20:46 ` Kanigeri, Hari
2008-08-19 23:45 ` Felipe Contreras
2008-08-20 22:34 ` Kanigeri, Hari
2008-08-21 8:10 ` Felipe Contreras
2008-08-20 10:10 ` Hiroshi DOYU
2008-08-20 14:32 ` Woodruff, Richard
2008-08-21 7:41 ` Hiroshi DOYU
2008-08-21 12:34 ` Woodruff, Richard
2008-08-21 16:11 ` Hiroshi DOYU
2008-08-21 19:43 ` Woodruff, Richard
2008-08-22 9:24 ` Hiroshi DOYU
2008-08-21 15:37 ` Kanigeri, Hari
2008-08-21 16:08 ` Hiroshi DOYU
2008-08-18 17:24 ` Trilok Soni
2008-08-19 18:33 ` Kanigeri, Hari
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=48AC416F.2050808@nokia.com \
--to=sakari.ailus@nokia.com \
--cc=Hiroshi.DOYU@nokia.com \
--cc=felipe.contreras@gmail.com \
--cc=grgupta@ti.com \
--cc=h-kanigeri2@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=mjalori@ti.com \
--cc=r-woodruff2@ti.com \
--cc=siarhei.siamashka@nokia.com \
--cc=soni.trilok@gmail.com \
--cc=tony@atomide.com \
--cc=vpasam@ti.com \
--cc=x00omar@ti.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