Age | Commit message (Collapse) | Author |
|
Bug: 245053092
Test: gfx-gralloc-alloc-test
Change-Id: If72289abf0dde9701456f0d6e3fb09885b6bf529
|
|
Bug: 275481134
Bug: 245053092
Test: Boot to home
Change-Id: I042fb7fb0cbc9656b382ca78a9c6d6ce7004bfee
|
|
This patch also removes the allocation for NONSECURE usage bit as that
is marked as invalid in mali_gralloc_usages.h
Bug: 275481134
Bug: 245053092
Test: Boot to home
Test: gfx-gralloc-alloc-test
Change-Id: Id506dc806829b846562faed33d3270a17710f1d8
|
|
system, system-uncached and vscaler were the only used heaps from
libion.
Bug: 275481134
Bug: 245053092
Test: Boot to home
Change-Id: If0f58a77640e18f4f021fe87d90fdc3e20bca5f1
|
|
Most of the removal comes from the fact that ion_client is always going
to be 0 which helps in cleaning up all the setup code needed to make
sure ion_client is valid.
Bug: 275481134
Bug: 245053092
Test: Boot to home
Change-Id: Icc2cdb5eb9d6235ab37de4e7449724b5c546fc3f
|
|
Nothing appears to depend on this default value, and it requires an
additional condition which we remove here also.
Bug: 242097812
Change-Id: I74569cf24500748d624d4e41e2bbb4348d7bbb8b
|
|
Bug: 242097812
Test: system_server:1467
Test: Name Rss Pss nr_procs Inode
Test: Lyric 12 kB 0 kB 2 337
Test: system 4 kB 0 kB 2 338
Test: HardwareBuffer pid [5017] 612 kB 0 kB 2 341
Change-Id: I6da2a26d60585cb2c5cbaf52fdf3d27142706004
|
|
Bug: 230063328
Test: perfetto traces
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: Iaee45ac15e604ea3c8f786e9bb76786bab14b15c
|
|
Bug: 212803946
Bug: 212804042
Test: Boots to home, VTS and manual check heap_profile
Change-Id: Ie0aed4a66093bd24fce79f821b71de5333f67fb7
|
|
* changes:
Revert "Add delayed logger to allow logging verbose/info logs as warnings"
Revert "Commit all gralloc logs to warning on high memory allocation"
|
|
This reverts commit 56831666f59b6bf33e1837669b6f752f973d0755.
Delayed logging leads to computing all the logging macros (ALOGV etc)
when they should be skipped. This leads to performance bottlenecks.
Bug: 204428645
Test: Builds
Change-Id: Id59480e77d0004b802d8dbe1fe26c69cd8550141
|
|
Bug: 199336554
Test: Do not observe leaks in heap profiling
Change-Id: Iacab8555a1f425d7746fc7ab0937ddf9b1cf23d8
|
|
Bug: 192821955
Test: Manually verified
Change-Id: Ib1f3cfdae6bf5280c5ee85fbbfa11f1e2da7cbdc
|
|
This potentially should improve the importBuffer calls as not all
clients need CPU mapped buffers.
This patch needs to be thoroughly tested as there are chances it might
break metadata reporting. I did the smoke test and it seems fine.
Fix: 190688388
Test: Yet to be tested
Change-Id: I2f98b1f9646a1336ded3747d2a24c6851a883d73
|
|
mali_gralloc_ion_sync is called if BOARD_USES_GRALLOC_ION_SYNC is set,
but currently the implementation is empty. Added an implementation that
passes through to libdmabufheap's sync interface.
Test: Set camera permissions to "Ask every time"; reboot; launch camera
Test: RealCalc
Fixes: 185289225
Fixes: 186613737
Fixes: 183735780
Change-Id: I8425d2d94c0202fa2dabf8ff60d66bc8d40b6b86
|
|
Test: PTS SecurePreview test passing
Bug: 184608844
Change-Id: Ia1396cfcf5df9d5bcc56c6ee34043b8548a49453
|
|
Bug: 184185100
Test: adb shell sensor_test sample --direct hw -r 50 -s 1 -n 10 -l
Verify there are no errors and samples were collected.
Change-Id: I47fbdcf427862395d1d7371d3ae68a1a6e16efb6
|
|
SBWC_REQUEST_10BIT and HFR_MODE usages are unused in Gralloc and should
be removed.
Bug: 182940134
Test: build
Change-Id: I0e4d3446c2e302e3b692575424d58091d213fb20
|
|
Test: gfx-gralloc-nv12-afbc-test
Bug: 143246001
Change-Id: I774ded56255c63c3587eeff571566db4603f7545
|
|
Bug: 180774763
TesT: gfx-gralloc-faceauth-test
Change-Id: I930ce95b6ffa13d175baa8a1b5bcf9ccc57afd32
|
|
Also changed which private bits are used, so that the usages no
longer overlap with other usages that affect Gralloc behavior.
Elimiated a few usages that we know aren't needed anymore to make
room for these flags.
- DAYDREAM_SINGLE_BUFFER_MODE
- CAMERA_RESERVED
- SECURE_CAMERA_RESERVED
Also fixed the README for libvendorgraphicbuffer.
Bug: 180774763
Test: build
Change-Id: Iffcdbffd0ef212ab0d2a1b5676173ad66a0acf6b
|
|
|
|
Bug: 178865267
Test: build
Change-Id: Icca8296db7155fc87e0d3d41221f6837fef3eda9
|
|
This patch enables the use of the faceauth DMA-BUF heaps.
Bug: 178865267
Test: build
Change-Id: Ia9c071a936e1a3b3854d3215e36a60171f27dd37
|
|
Bug: 181240527
Test: boot
Change-Id: Id72d108cd5f40ccd636adcce0ea94d2583c22269
|
|
* changes:
gralloc4: Remove references to unused ION flags
gralloc3: remove references to unused ION flags
|
|
These flags are not supported by the device's ION heap implementation.
Hence, references to them can be deleted here.
Test: boot, video playback
Bug: 170772980
Change-Id: I3f51a20562e58809f51f4e42f803a002e32bf4fd
|
|
Port libGrallocWrapper to libGralloc4Wrapper. Add a new optional
parameter to the standard allocation path that sets the Gralloc fd to a
user provided fd instead of having ion allocate an fd.
Add metadata to libGralloc4Wrapper implementation, amend DRM table to
support new formats.
Test: aion_test
Bug: 168763166
Change-Id: I3776b1cf2488969fa0ff2f0d744f329048008719
|
|
Port Gralloc 3's libGrallocWrapper to Gralloc 4, it shares the same
interface so no modifications are needed for AIon yet.
Currently it trivially allocates a Gralloc buffer using the standard
allocation path and does not substitute ion fd with the provided fd yet.
Bug: 168763166
Test: mm libGralloc4Wrapper
Change-Id: I367ebac2d6e3bb9d530be13f4e88a109838232b9
|
|
Use libdmabufheap instead of libion for sensor_direct allocations.
Bug: 173440990
Test: build
Change-Id: Ib340511c83941c8305a0f5047ca3a6b49a2f4386
|
|
Bug: 152340424
Test: Run direct channel test with:
Test: adb shell -t sensor_test sample -ihw -r10 -s2
Change-Id: I5fea8f251e622bc36a09060dca6ca5ee32b2d2ef
|
|
Bug: 173320140
Test: Builds successfully with gralloc3 and gralloc4
Test: Device boots to home with gralloc3
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Change-Id: I6cb7e62c713ac234ec72218493eb1d8b2665cad9
|
|
Bug: 173320140
Test: Builds successfully with gralloc3 and gralloc4
Test: Device boots to home with gralloc3
No-Typo-Check: Typos in comments from upstream
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
Change-Id: I1df105fd0358a0d1ee9c0266acafc4f7192ebc92
|