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
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to