History log of /hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8480196c5018f6ec668234f1954305d6fed43af6 13-Jun-2017 Naseer Ahmed <naseer@codeaurora.org> msm8996: gralloc1: Align buffer size for each layer

Align the per layer buffer size instead of the total size.

Bug: 62299647
Test: Ran multiview test on Pixel XL, verified no visual artifacts
Change-Id: I114fe6b9e0b40ce6cf92fcb32559ed01b94527e4
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
bbc6f15a633f29d608acfc67c1a1fa5a0ecad8bc 29-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Locking fixes

* Separate buffer lock and descriptor lock
* Add lock for allocation as we touch the handles_map

Change-Id: I2baf7a65f55b04f1bbbfbf78a19c0e288040fab7
Bug: 64340340
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
d6751d55a64f04a3ed621e472092f0ebc2fb7e15 02-May-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Support GRALLOC1_CAPABILITY_RELEASE_IMPLY_DELETE

v2: Handle buffers allocated outside gralloc with flag
PRIV_FLAGS_CLIENT_ALLOCATED.

CRs-Fixed: 2041607
Bug: 36355756
Change-Id: Icb0c4b724f7bf7097812f6306fb0b9a56bb790a9
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
c8c38fb8952e626d24e6d60dd8984ab08c70c8ab 20-Apr-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Support GPU_DATA_BUFFER and SENSOR_DIRECT_DATA

* These buffers can have any RGB format
* Should not use UBWC
* Should be uncached
* 4k aligned

Bug: 36140040
Change-Id: I49c88b1914f8a4247137ae5b64276f0346977a71
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
30107618d54624f41ff58b007edf6392d2f34eab 24-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Remove map in client process

A map at retain time is not necessary. Clients that need to map
the buffer in CPU should call lock() with the appropriate flags.

b/35955598 registerBuffer and unregisterBuffer use galloc_map and
gralloc_unmap incorrectly

Test: marlin
Change-Id: I9d23d0bfb426016cdd0a7963da1a5809f9ed506a
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
21b976b264a4c892b61523a8338111ca79c33e0d 27-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Add support for layered buffers

Implements the gralloc1 capability GRALLOC1_CAPABILITY_LAYERED_BUFFERS

Bug: 31686534
Change-Id: I80c8ef6aa18844e33ecd8b019c6f4cf08872afb5
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
dad90b460d1ab2294b5c3ecfbc70ab2fdd9bc0df 27-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Refactor AllocateBuffer

Remove local function that passes the full set of arguments and
always use the BufferDescriptor function instead.

Change-Id: Ia27885ee57cd0a5a1643420c893042f90be588cd
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
f175786d5b9e2a3bdeaa541f92894c5e90785540 24-Mar-2017 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Fix for buffer mapping and metadata access

- Don't mmap in the allocator process as it is unnecessary
- Fix MetaData access through getMetaData API
- Eventually we need to remove the MapBuffer in RetainBuffer to
fix 35955598

Acked-by: Prabhanjan Kandula <pkandula@codeaurora.org>
Change-Id: I3d3a0edcf6ec93e827582010f6936361cb3790dd
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
f13f2213ee1071bd5602b95f110c1072671cfff8 23-Nov-2016 Naseer Ahmed <naseer@codeaurora.org> gralloc1: Add remaining functionality

* Use private_0 flag
* Add some legacy flags to be used during transition
* Fix gralloc module version
* Adjust makefiles for gralloc1
* Add support for dump, num flex planes and lock flex.
* Use a unique ID for buffer descriptors
* Do not delete buffer handle, fix after verifying framework fix.
* Current gralloc1 clients do not conform to the lock()
requirement
in the gralloc1 header. Tracked in b/33588773
* Add perform APIs to get the buffer size and allocate a buffer
for use by SDM
* Fix reference counting
* Add a unique buffer ID
* Some cleanup in private_handle
* Create a wrapper class of private_handle to do refcounting
* Resolve implementation defined formats At allocation time,
update buffer
descriptors to replace implementation defined formats with the
ones we mean
to allocate
* Defer ion handle release
* Remove unused drm code.
* Add legacy constructor for private_handle_t used by some
clients
* Add FP16 support
* Add Dump() in buffer manager
* Use handle as map key
* Drop ZSL check
CRs-Fixed: 2007391
Change-Id: Iaf843d93c031839d90403cc2e6927b516aedd354
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp
52af24f45972a8124cb33e97c740fa0bfc705df6 03-Jun-2016 Steve Pfetsch <spfetsch@google.com> display: Update to AU187 proprietary drop

Update to AU_LINUX_ANDROID_LA.HB.1.3.9.06.00.01.213.187

display_hal:
897a3ef sdm: Add support for color mode & color transform
489b7cd sdm: color-manager: New color management feature.
f4a1f34 hwc2: Use floating value refresh rate
94c3c93 Merge branch display.lnx.3.0-dev into LA.HB.1.3.9
2a3c7d9 hwc2: Fix lint error.
201bb83 Merge "Merge branch 'LA.HB.1.3.9' into display.lnx.3.0-dev"
d3010dd Merge "sdm: Fix HDMI Primary and Virtual Display concurrency use case"
776f125 sdm: Fix HDMI Primary and Virtual Display concurrency use case
e74eb40 gralloc: Handle RAW_OPAQUE formats similar to blob
57db735 Merge branch 'LA.HB.1.3.9' into display.lnx.3.0-dev
7c060b4 Merge "sdm : Remove un necessary log messages"
33d6fee Merge "hwc2: Add hwc specific dump"
d477e60 Merge "hwc2: Locking fixes"
d3a5303 Merge "gralloc1 : initial implementation"
41451dd Merge "sdm: Remove LayerCache from HWC" into display.lnx.3.0-dev
791dc00 Merge "sdm: Handle spurious wakeup from pthread_cond_wait" into display.lnx.3.0-dev
577a919 Merge "gralloc: Set default CSC to 601_FR" into display.lnx.3.0-dev
670815a Merge "sdm: Set system property when HDMI is Primary" into display.lnx.3.0-dev
31e5d8f Merge "IQService: Remove process name in debug logs" into display.lnx.3.0-dev
96e9234 gralloc1 : initial implementation
1fd59ea hwc2: Add hwc specific dump
addcabf hwc2: Locking fixes
9aabdd0 hwc2: Fix validated check
093fd32 hwc2: Ignore null client target
223796e sdm: Handle spurious wakeup from pthread_cond_wait
ca8b2f3 sdm: Set system property when HDMI is Primary
935f831 sdm: Remove LayerCache from HWC
f2a6466 gralloc: Set default CSC to 601_FR
57c19c7 Merge "sdm: Re-define MultiRect MDP flags" into display.lnx.3.0-dev
9c0bf73 IQService: Remove process name in debug logs
20a80cb Merge "common: Do not enable QTI_BSP flag" into display.lnx.3.0-dev
378b492 sdm: Re-define MultiRect MDP flags
c55bcb1 Merge "sdm: Full ROI for 1 frame after resolution switch" into display.lnx.3.0-dev
74d720f sdm: Full ROI for 1 frame after resolution switch
6f9612b sdm: Add support to report the pixel format of the display
c3c2f85 common: Do not enable QTI_BSP flag
9cc2303 qdMetadata: Add MetaData operation functions
0d36263 sdm: Enable HDMI dynamic frame rate switch feature
9eade06 sdm : Remove un necessary log messages

Change-Id: I70d35cfe58d9f5ac56b36c053119a6ae68ff3552
/hardware/qcom/display/msm8996/libgralloc1/gr_buf_mgr.cpp