I see. Thanks.
But the problem is that android naturally does not provide a flush ioctl.

On Tue, Jul 14, 2009 at 7:49 PM, Xinyu Chen <[email protected]> wrote:

>
> Hi Quan
>
> As far as I know, pmem has two usage:
> 1. GPU or VPU buffers shared with CPU core
> 2. Android service heap.
> Under case 2, it can be cached.
>
> On Jul 10, 9:09 am, Andy Quan <[email protected]> wrote:
> >  Hi,
> > I am working on PMEM sharing between opencore and surfaceflinger in
> Android
> > 1.5. I find that PMEM can be configured to be cacheable but there is no
> > corresponding cache flush ioctl for this device.
> >
> > Since PMEM is the dedicated physical memory for android, there can be
> cases
> > that a software video unit wants to share YUV buffer without extra copy
> with
> > hardware GPU inside surfaceflinger. For SW video unit, it is unacceptable
> to
> > configure PMEM to be non-cacheable as there would definitely be huge
> > performance downgrade.
> >
> > Any thoughts on this?
> >
> > --
> > Thanks,
> > Andy
> >
> > --
> > Thanks,
> > Andy
> >
>


-- 
Thanks,
Andy

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to