History log of /hardware/qcom/display/msm8996/libgralloc/mapper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
96a73c98ee23859a3e99287f5ebde8883852a0d4 18-Apr-2017 Mark Salyzyn <salyzyn@google.com> msm8998: deprecate cutils/log.h

Replace cutils/log.h with log/log.h. Fix up header ordering.

Test: compile
Bug: 34250038
Change-Id: Ib9d9f9919e6a220205014c2f720f7b9633e1bc87
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
7344889023d50b5c1153da5ec25c25ce323416a5 11-Oct-2017 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> [DO NOT MERGE] msm8996: libgralloc: Fix adding offset to the mapped base address

Bug: 63662821
CRs-Fixed: 2109325

Change-Id: Ib67ba670753d0f2ce41ca7168de7ab5202103a47
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
b7d25ca64e8e64d0fcb6f81e9dd14bb1dd6b96d2 09-Mar-2017 Chia-I Wu <olv@google.com> Revert "gralloc0: Map in registerBuffer only for USAGE_HW_TEXTURE"

This reverts commit da449ce3916d0c74352ef476632ad0a74bcdf8e9.

Bug: 36082388
Change-Id: Ib6992c22319208ef5c89b6423255bd87353772d6
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
da449ce3916d0c74352ef476632ad0a74bcdf8e9 07-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc0: Map in registerBuffer only for USAGE_HW_TEXTURE

Bug: 35955598
Test: build and ran camera tests, overall smoke test

Change-Id: Ib0e18138351785631ae57dfcc66d1d1ccc9c9cb5
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
7a6794690431923c9d36d0a54ded65c17847114b 13-Dec-2016 Chia-I Wu <olv@google.com> gralloc: use libgralloc1-adapter in MSM8996

This adds some new data members to private_handle_t. The new data members
are needed to support GRALLOC1_ADAPTER_PERFORM_GET_DIMENSIONS, etc. All
HALs that include gralloc_priv.h need to be recompiled.

When TARGET_USES_GRALLOC1 is true, the gralloc HALs advertise gralloc 1.0
support (see ADVERTISE_GRALLOC1).

Test: manual
Change-Id: I8b45cf9ef295560d1d5f1ef4b4694d4864dbac2d
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
8dde137e441eae475a414dc575e33585d7d6413e 03-May-2016 Naseer Ahmed <naseer@codeaurora.org> gralloc: Return an error if the buffer was not mapped

(Second attempt at this change)

In some cases, the framework attempts to lock a secure buffer.
Since it does not get an error code from the lock, it proceeds to
dereference the base address (which is invalid). Return an error
code when a secure buffer is attempted to be locked, while still
ensuring that the metadata is mapped.

Bug: 28526999
Bug: 30404840
Change-Id: I6e2aaa8e9d2f28b5f5ae98fcb449d58c2f728f52
CRs-fixed: 1010697
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
de3ad9074f6d2039be5e5a21145641b0ea260985 27-Jul-2016 Eino-Ville Talvala <etalvala@google.com> Revert "gralloc: Return an error if the buffer was not mapped"

Need to revert this along with n17 GPU driver drop,
otherwise the toggles are sad.

You don't want sad toggles.

Bug: 30432672
This reverts commit a36d58bde87a72340d9664c808e792aa5e73294b.

Change-Id: I58339a94cb968a2819180dbfe7d1b2f9bd6672cd
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
a36d58bde87a72340d9664c808e792aa5e73294b 03-May-2016 Naseer Ahmed <naseer@codeaurora.org> gralloc: Return an error if the buffer was not mapped

In some cases, the framework attempts to lock a secure buffer.
Since it does not get an error code from the lock, it proceeds to
dereference the base address (which is invalid). Return an error
code when a secure buffer is attempted to be locked, while still
ensuring that the metadata is mapped.

Since we return a proper error in lock(), register buffer fails.
Since a map should not be done in registerBuffer per the gralloc
spec, only map the metadata here. Clients that need to access
memory in CPU after registerBuffer should do a lock().

Bug: 28526999
CRs-fixed: 1010697
Change-Id: I74204931fa61524f1601dd99ab266219d4be2c82
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
1c83c9c682ae9a6a43bd7e1a199355333c70a8cd 06-Apr-2016 Naseer Ahmed <naseer@codeaurora.org> display: Upgrade to AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.124

Change-Id: Id2cf31c8e84c780ce396ef8f7c98ff53b1547a18
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
f31e45897c5f3d981922222644b9778af2302474 04-Feb-2016 Patrick Tjin <pattjin@google.com> msm8996: Merge AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.002

AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.002
for msm8996 display, this is a squashed commit, the top commit
is:
commit 5b8f817f0e275578d212683b07a9b0ef7b6c5fba
Merge: 20a3187 6f48825
Author: Linux Build Service Account <lnxbuild@localhost>
Date: Thu Jan 28 03:08:38 2016 -0800

Promotion of display.lnx.2.0-00010.

CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
962964 Iea1e2bd53ef4434c40af6062eb9dd5fa9354db4a hwc: Fix mutex deadlock in GetVsyncPeriod
964922 I0c49a534098cdc5a7189eb2fe520d2ed7d3e21ef sdm: Add CSC information in dump.

Change-Id: Ie6df8837d18d7541c783762c85224ccba631a5e5
CRs-Fixed: 964922, 962964

Change-Id: I02bc31251ed4f377eb94172e88a8ffc2d2c6fa23
Signed-off-by: Patrick Tjin <pattjin@google.com>
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp
d68a2e45260f864503d7bd6da93fd29589afd89e 07-Jan-2016 Patrick Tjin <pattjin@google.com> msm8996: Initial import of display code

Change-Id: Id6b1354806c3627d86a5ae519e9c5f233c74b06d
Signed-off-by: Patrick Tjin <pattjin@google.com>
/hardware/qcom/display/msm8996/libgralloc/mapper.cpp