History log of /hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c3dee7890047bad1136078f0f6e2b6d1a9a24947 08-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I8c589a92ddd26c0c3a12f24cf1633ab5b4d828c6
/hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp
3fb19cd0b6534ef9d36f8ac0c5ddbdc73ed92a26 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I367c22b5c3a9f5796feddb14923063db015ae957
/hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp
f9452ed4a7c7bbde537f3f2690fc124e5a1beaff 20-Dec-2011 Steve Block <steveblock@google.com> Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: Iceae7f67d24f5b47c095f0c148af917547eee32d
/hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp
22f2554680715d1ea993409217a4a21f652ef130 20-Oct-2011 Steve Block <steveblock@google.com> Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I90081db21c71365e7b11427a859522acabf6fdc3
/hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp
f5a83a9c024dee0617dbc3dab98cd307e8d54665 22-Apr-2010 Jamie Gennis <jgennis@google.com> Refactor the qsd8k gralloc implementation.

The purpose of this change is to add support for allocating gralloc buffers
from either /dev/pmem or /dev/pmem_adsp depending on the usage flags. It does
this by factoring out and abstracting the interactions with the pmem device.
For /dev/pmem allocations, the kernel allocator is not used, so a single master
fd is opened, and all the allocations are sub-allocated from that by gralloc.
For /dev/pmem_adsp the kernel allocator is used, so it simply opens a new fd
for each allocation.

A very basic unit test that can be run on the host is included. It requires
gtest, so to run it on a host system gtest must (currently) be compiled with
BUILD_WITH_ASTL=true.

Change-Id: If2ae0151698fad8107e18e808a3fa012a846263f
/hardware/msm7k/libgralloc-qsd8k/pmemalloc.cpp