Andrew Sutherland
906031e60f
gralloc: hide pmem debug messages
...
these tend to dominate logcat especially when playing videos
Change-Id: Iaeb73b164bd2baf71c2f1ea93e0105a843e21ff3
2012-03-30 21:11:00 -05:00
Naseer Ahmed
bd1aed8185
gralloc: Set total pmem size correctly
...
(cherry picked from commit 574e0998140becdfcebf11530bc10de3bcf31533)
Change-Id: I67b1530de43dab609261efa592dc41e030c157ef
2012-03-16 20:43:15 -05:00
Jeremy Gebben
115d446fcb
libgralloc: fix libgralloc error codes
...
Several ioctl calls were returning -1 instead of -errno,
which may confuse upper layers, especially when the error
is -ENOMEM. Also move some existing "err = -errno" calls
to the top of if statements so that errno cannot change
by libc calls in the error handling code.
(cherry picked from commit a8eda532452651eb1fbae419319455de2a078ef0)
Change-Id: I181f98d5a261e8e3e1b3f6ecd3ba288e7b4b5607
2012-03-16 20:42:36 -05:00
Naseer Ahmed
719d854bfd
display: Standardize debug logging for all memory types
...
CRs-fixed: 331956
(cherry picked from commit fa7601fb06b265b4cb7c9aaaabea77e2a8d8c6e9)
Change-Id: I1cc99760186aa4a70ebe2464f44b19e1fa91acdf
2012-03-16 20:42:12 -05:00
Naseer Ahmed
a469182e24
gralloc: Clean kernel allocated pmem buffers after memset
...
Change-Id: I1a13c38c38a9f321e3f163545d0331529d2f7e6f
2012-02-27 00:06:21 -06: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
9c050e95ec
gralloc: Refactor, ion support
...
- Add ION support
- Refactor the design
Change-Id: I5b067b0aca1235ee8c01c256e025f416bb56f560
2011-11-16 13:43:12 -08:00