History log of /hardware/msm7k/libgralloc-qsd8k/mapper.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/mapper.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/mapper.cpp
cf3d881f15c36271165986933ae902bdc16fcc79 29-Apr-2011 Mathias Agopian <mathias@google.com> remove support for GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER

this is not used anymore.

Change-Id: Ie9e44ae8d1aa43c51f03c8cf29057ceae18a55c1
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
a91a220ae435832209702ec59040036d276b63ca 20-Aug-2010 Mathias Agopian <mathias@google.com> only set the PRIV_FLAGS_NEEDS_FLUSH flag on PMEM buffers

PRIV_FLAGS_NEEDS_FLUSH will trigger an ioctl call into the PMEM
driver in unlock(), so it makes not sense to set this flag for
non pmem buffers.

Change-Id: Ie1e077c10df86d3689b82fa6ce5d6c856fc95688
/hardware/msm7k/libgralloc-qsd8k/mapper.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/mapper.cpp
dce2c212be4bc4af3230790ca4d18826a8cab8ef 03-Mar-2010 Dima Zavin <dima@android.com> libgralloc-qsd8k: flush SW_WRITE cached pmem regions in unlock

Change-Id: I31d1257f031c6b9b8dae604c2c1a8aa246ce3b84
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
41adb7ff4125dbba2b156258935bb3943241bd1e 20-Jan-2010 Mathias Agopian <mathias@google.com> part of fix for [2363506] [Sapphire] Video playback broken

make sure to reject incompatible buffers in special function
GRALLOC_MODULE_PERFORM_CREATE_HANDLE_FROM_BUFFER

we use ioctl(PMEM_GET_SIZE) to validate that the given buffer is indeed
a pmem buffer.
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
87ea1dfa60cf130fafdbab8e94cb2ce9ff8d0975 30-Oct-2009 Mathias Agopian <mathias@google.com> fix[2222341] Soft reset while going back from camcorder settings

add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger

also make sure to not send empty rectangles to the MDP.
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
e84bc637603d34b11a35658a7dbb511bc76aebda 21-Aug-2009 Mathias Agopian <mathias@google.com> fix gralloc qsd8k. we actually don't need to use /pmem/gpu1, since the gpu is now able to use regular PMEM.

this module is now closer to the generic gralloc module, although it will have to evolve in the near future.
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
79c9ceea6ec3ac708ec7e27ab3af54ffdaf9338f 19-Aug-2009 Mathias Agopian <mathias@google.com> make gralloc-qsd8k closer to the generic gralloc so it's easier to maintain
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp
0235ebcc09fe10371788dfcefa4e3f12de3783e4 05-Aug-2009 Dima Zavin <dima@android.com> qsd8k: add gralloc for 8k

Signed-off-by: Dima Zavin <dima@android.com>
/hardware/msm7k/libgralloc-qsd8k/mapper.cpp