Commit Graph

16 Commits

Author SHA1 Message Date
Linux Build Service Account
efc1c4ac84 Merge "gralloc: layercount validation check" 2018-04-27 16:55:26 -07:00
Ramakant Singh
06676253cd gralloc: layercount validation check
layercount value should not be zero.

Change-Id: I439ca4f1655a4c892b4bdf02fc786c7e2838e816
2018-04-26 20:05:02 +05:30
Uday Kiran Pichika
7610943314 gralloc: Fix race condition in gralloc
- Add mutex lock while accessing handles_map

Change-Id: Ibbe77e87020e655f6ebeb2428a13555460b3ac7d
CRs-Fixed:
2018-04-24 22:19:37 -07:00
Linux Build Service Account
621dad55ee Merge "gralloc: Remove map fb memory property" 2018-04-21 07:04:05 -07:00
Naseer Ahmed
523dfe4e37 gralloc: Remove map fb memory property
This property is unused

Change-Id: Id8f5c087b0dfa0eb3a31a342968abb687f0944c8
2018-04-20 19:00:26 -07:00
Naseer Ahmed
280ce67a86 gralloc: Fix uncached settings on CPU rare read/write
Change-Id: I4187b4beaacf26388cdd4c9f2b7d4e49a5882983
2018-04-20 04:16:46 -07:00
Gurpreet Singh Dhami
26a190eb78 gralloc: Correct the gralloc private usage bit setting.
Change-Id: Ic0f085bfbf516f031776ebb740b3c4a11c7264db
2018-04-05 08:47:17 -07:00
Naseer Ahmed
b1013968b9 display: More fixes for VNDK
Change-Id: I8887ffdde3d6f39f9405dd38e8eaedbb8da2a9b4
2018-04-02 15:11:30 -07:00
Saurabh Shah
8ae77fc36e gralloc: Add some missing formats to GetGpuPixelFormat()
Add some missing formats to GetGpuPixelFormat()

CRs-Fixed: 2202759
Change-Id: Ic0689936f23ef353551a244edabc7260b8c04438
2018-03-29 10:15:36 -07:00
Uday Kiran Pichika
89c36f4fa8 sdm: comply with treble guidelines
Modify the property names and use macros in place of them

CRs-Fixed: 2206249
Change-Id: I5ae790ca62a258b0d7c14931e0132727feed48a3
2018-03-14 21:11:44 +05:30
Naseer Ahmed
56c571fbe0 display: hwc_buffer_allocator fixes
Fixes an issue where the HWC init randomly blocks on the
allocator init by doing a lazy initialization of the allocator
object. The allocator may not have fully initialized at HWC init.
Also, increases the allocator connection threadpool to 4.

Change-Id: I38454ee25aaf2a211125e55297300eac754fb5cf
CRs-Fixed: 2201202
2018-03-07 18:25:19 -05:00
Naseer Ahmed
04a804a8f1 display: Use log.h from VNDK
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
2018-03-06 20:41:14 -05:00
Naseer Ahmed
62dd96c7a7 gralloc: Use default interfaces of allocator/mapper
Use default interfaces until BOARD_VNDK_VERSION is enabled

Change-Id: I3192c912ca790174f6fc6acb37988d6720167b07
2018-03-02 20:23:40 -08:00
Naseer Ahmed
cf5dd89532 gralloc: Update implementation defined format in buffer info
Change-Id: I1a53c5524587b9d5fe318b63152169a77f11a0b5
2018-02-26 12:59:22 -05:00
Naseer Ahmed
a422f35f04 gralloc: Add allocator and mapper HALs
Implement the hidl .hal interfaces directly instead of using the
default shims.
This is required since new additions to .hal will no longer be
added to the legacy gralloc1 C header.

Change-Id: If577a14f75d7d13da0ff656c96ab451d21c910ce
2018-02-20 12:17:01 -08:00
Naseer Ahmed
bfd66dbf6c gralloc: Move to new directory
In preparation for the hidlization of gralloc.
Also delete obsolete libgralloc

Change-Id: Id657f985cff1bdbf86c781efc52e8bda4e3d27b4
2018-02-13 11:45:12 -05:00