Naseer Ahmed
71e0e80dbd
display: Add support for protected heaps
...
(cherry picked from commit c932690c5a9d0aedfd2580e5c5e9f79e32f54261)
Change-Id: Ibddab4252ecefa1c410430b89f94aba4d3ae1c96
2012-03-16 20:34:50 -05:00
Naseer Ahmed
ea94363fde
Display: Use new ION heaps
...
Use new ION heaps in gralloc
and use them in rotator
Change-Id: I4ff903fd48a90e19655a64c5a0abaeec35aa34c8
2012-02-06 23:19:37 -06:00
Naomi Luis
996254486f
libgralloc: Check for genlock success on all genlock calls
...
Change-Id: I5bb9d209f80c6b9499197cda697d1a0293b409ba
2011-12-22 21:44:34 -05:00
Naseer Ahmed
ba64a65af2
libgralloc: Add gralloc perform to create handle from a buffer
...
Change-Id: I11fb9add49f32cc5d518baf47cb61507474f6809
2011-12-05 02:42:14 -07:00
Naomi Luis
1e74639826
libgralloc: Invoke genlock during gralloc_lock/gralloc_unlock
...
gralloc_lock and gralloc_unlock invokes genlock to perform the buffer
locking operation.
Remove unused gralloc handle variables.
Change-Id: I5283613c5f67f708123916653af1b2d1ec155577
2011-11-23 15:06:47 -08:00
Naomi Luis
09367ef6e8
libgralloc: Map buffers during registration
...
Map the gralloc buffer during the register_buffer phase. This allows
the clients to obtain the virtual address without the need to call an
additional mmap.
Change-Id: I9377584ee564ad5113fd353b727793f16d7b9b94
2011-11-23 15:04:40 -08:00
Naomi Luis
1b5f80522b
libgralloc: Create, attach and release genlock locks
...
Add support in the gralloc to:
- Create a lock during buffer allocation.
- Release a lock when the buffer is freed or unregistered.
- Attach a lock when the buffer is registered.
Change-Id: I788e411f43d5fcf88d7dcf39c530559a12d6361c
2011-11-23 14:58:23 -08:00
Naseer Ahmed
78ec9e4e53
display: Add support for pmem in the new gralloc
...
Change-Id: Ice6f436a01c3344a6d859ee0afc77673f151dbe4
2011-11-20 21:42:37 -08:00
Naseer Ahmed
96311b0091
Display: Compile gralloc for ICS
...
This disables certain features for compilation
Change-Id: I7e7533fa7db940a106b3520bef48c9fc2860707c
2011-11-19 21:16:20 -08:00
Naseer Ahmed
9c050e95ec
gralloc: Refactor, ion support
...
- Add ION support
- Refactor the design
Change-Id: I5b067b0aca1235ee8c01c256e025f416bb56f560
2011-11-16 13:43:12 -08:00