summaryrefslogtreecommitdiffstats
path: root/exynos4
Commit message (Collapse)AuthorAgeFilesLines
* exynos4: add PRIV_FLAGS_USES_ION flag when allocating with IONHEADlineage-16.0Shilin Victor2019-04-101-1/+1
| | | | Change-Id: Idac09003978e5c365ddd1678130a2dfbd3b6870f
* exynos4: gralloc: try to limit ION allocationsShilin Victor2019-04-101-2/+3
| | | | | | limit the allowed set of usage flags in order to prevent ION memory exhausting. Change-Id: I87ea925c33ecfe7f2728b84cc5a316530d7d8765
* * Added Werrors fix to FimgApi.cppLeonardo Amaral2019-03-181-0/+5
| | | | | | | This case there is a violation of C++11 about writable strings. The main objective of this sort of patch is allow compiling, since this issue is just compilation warnings trigging a compile error.
* * Added Werrors fix to FimgExynos4.cpp and FimgApi.hLeonardo Amaral2019-03-182-0/+8
|
* * Fixed Werror pragma position in jpeg_hal_unit.cppLeonardo Amaral2019-03-181-2/+2
|
* exynos: libEGL_mali: don't force BGRA8888 format when it's unneededShilin Victor2019-03-051-7/+9
| | | | Change-Id: I9cc318b7bb00c2efaf386bb2e75e99c275aaca7e
* Revert "exynos4: gralloc: actually disable ION allocations"Shilin Victor2019-03-051-8/+1
| | | | | | | | gralloc doesn't seem to play nice with LOS 16.0 when ION is fully disabled. This reverts commit 4df1b84f0bf2cd4392c072453cf0a4a477d106d2. Change-Id: I9c915ec9d24f9ca52fba744c6b68bea886b1c93d
* exynos: fix NFC HAL buildShilin Victor2019-03-051-0/+1
| | | | Change-Id: I0d74c19405e2093af47b0e377c91498c1d553f08
* exynos4: EGL_mali: allow to skip EGL context detachShilin Victor2019-03-053-8/+98
| | | | | | | | This should prevent Mali blob freaking on context detach. Not sure if this is a good idea just skipping context detach, but let's see how it goes... Change-Id: I62121b17b74276a687818531187ba444fedc32bf
* exynos4: build libEGL_mali from sourcesShilin Victor2019-03-054-1/+368
| | | | | | | * used a handcrafted assembly to replicate original functions * fix invalid window format passed to libMali (RGBA vs BGRA fix) Change-Id: Idc88c255e3280e11a35e552c40098ae967947108
* exynos4: gralloc: actually disable ION allocationsShilin Victor2019-03-051-1/+8
| | | | | | This reverts commit 6cec77e0504b3c66ce7fe104a810e9fe71455f2a. Change-Id: I87ea925c33ecfe7f2728b84cc5a316530d7d8765
* exynos4: livedisplay 1.0: Remove vendor.lineage.livedisplay@1.0Dominggoes Isakh2019-03-051-1/+0
| | | | Change-Id: I93d2a4c51a08609425ad9ee02210cd8436035eb6
* hwc: revert changesShilin Victor2019-02-254-43/+29
| | | | Change-Id: I87bc1a0cedb7b39600c64e45ce35f3ad0821fad3
* gralloc: Disable ION allocation for HWCDominggoes Isakh2019-02-241-6/+1
| | | | | | | | | We got screen tearing issues because only one buffer was used in /dev/graphics/fb0. Credits goes to @Chronomonochome for his original commit. Change-Id: I321bb19ce586a74319941046800f0db07ce7bf98
* Revert "gralloc: switch to UMP-only allocations"Shilin Victor2019-02-241-2/+0
| | | | | | This reverts commit 33b21658f39d7338cef9cbeda30645b3e3ff0b36. Change-Id: I17953c198b97404df00a285c053d5713e9fe022f
* gralloc: Update freed buffermask at allocDominggoes Isakh2019-02-242-1/+12
| | | | | | | | | | | This fixes screen tearing because of the change of HIDL behavior. The buffer is freed before the next allocation causing the bufferslots always be unused at allocation. Only the first buffer in the framebuffer /dev/graphics/fb0 was used. Thanks to @Chronomonochrome for pointing out the issue in gralloc. Change-Id: If1f6eb667506743cca828fbf87a45e7c2ee849a9
* Revert "exynos4: gralloc: allow skipping bufferMask change on free"Shilin Victor2019-02-242-6/+1
| | | | | | This reverts commit 9e1e7fe7265444ee0c23314b7316f8e05bde952c. Change-Id: I839928cdaf79486b74b87d999d3b0508520799c0
* Revert "exynos4: gralloc: remove some methods implementation"Shilin Victor2019-02-241-0/+26
| | | | | | This reverts commit 71b302fce6589002e49ca46fb0e661cbdb208566. Change-Id: If4f7a0e1da5ca2baa5116ef7d6ca56ab5a5b619f
* libhwjpeg: convert to C++ and fix build errorsShilin Victor2019-02-232-2/+4
| | | | Change-Id: I62a9a3ffc3d72ae80072a36594ae2b80370b560f
* HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringupDominggoes Isakh2019-02-231-1/+3
| | | | Change-Id: Ie9e665d7fc5b1124ecb662cfb4fcedc18d22021b
* exynos4: gralloc: remove some methods implementationShilin Victor2019-02-231-26/+0
| | | | Change-Id: I57c571fb3c0226e979a6b74c7fef05ac8cf85d8d
* exynos4: gralloc: allow skipping bufferMask change on freeShilin Victor2019-02-232-1/+6
| | | | | | | | | | | | | | an addition of Gralloc HIDL caused Exynos4 gralloc to use only one framebuffer slot of the available two. This happens because the buffer is freed by HIDL immediately after it's allocated, thus making gralloc HAL think that first buffer is free and allocate a second one at the same vaddr (effectively using just one buffer). By skipping bufferMask change on the buffer free, we will make use of two framebuffer slots and fix Vsync issue. Change-Id: I0c3e7f517a67ad9d554111f91ef2f5190c6522c8
* exynos4: Set native color format for the Native windowShilin Victor2019-02-231-0/+1
| | | | | | based on and avoids need of commit https://github.com/rINanDO/android_frameworks_av/commit/19ab8af47c4393b5aa3067dc210eff3333ea0f92 Change-Id: I2048689459359c54f98223b762f3fea803c81a8b
* Exynos4: Initial implementation of LiveDisplay 1.0Dominggoes Isakh2019-02-2313-0/+1189
| | | | Change-Id: Ic42ac877b5bbd437b07616c0bcaedd7d846d07c2
* gralloc: switch to UMP-only allocationsShilin Victor2019-02-231-0/+2
| | | | Change-Id: I824855ce742f44669472f6d6176beea674137f64
* gralloc: Clone handle when unregistering buffer in separate threadDominggoes Isakh2019-02-231-1/+34
| | | | Change-Id: I113158592e29867246cdfd1daa96a3960d6851d6
* gralloc: Implement FIFO in partial flush's rect_listDominggoes Isakh2019-02-233-12/+166
| | | | Change-Id: I275f41de4b55065b1644e7dfc11def81bf86eff6
* gralloc: Unregister graphicbuffer in separate threadDominggoes Isakh2019-02-232-7/+51
| | | | Change-Id: Iea08c633f6e0adffacb03b05ee041ff99f776787
* gralloc: Move unregister_buffer to seperate methodDominggoes Isakh2019-02-231-8/+13
| | | | Change-Id: I4b53996be77c874cb7475104c58e428118a133a6
* gralloc: Fix GraphicBuffer screenshot issues in PieDominggoes Isakh2019-02-233-16/+30
| | | | | | Buffer allocation for GraphicBuffer fails because it is released to early. Use ION buffer and add an ump-reference to stall. Change-Id: I077bd7176fff4aa08a46362d80e64ad9b740773a
* hwcomposer: smdk4120: Add composition-decision of our old hwcDominggoes Isakh2019-02-231-0/+64
| | | | Change-Id: I2e1919e7abeb78310358ac315f7de2a9223f6fe2
* hwcomposer: Don't set state to S3C_FB_WIN_STATE_DISABLEDDominggoes Isakh2019-02-231-9/+0
| | | | | | | | This fixes rendering statusbar icons in Pie when high resolution display setting is set. The height of the statusbar is less than 32 pixels and was therefore not rendered. Change-Id: Ie6283de2cb429f0c0d3ca66bf5d3638639a66f79
* Revert "hwc: verbose layer debugging"Shilin Victor2019-02-231-17/+4
| | | | | | This reverts commit e0674a62cd6d817b15920d7df9ef6a05dd6ffa7b. Change-Id: I9bb6ab964f2dba3d68a34c9737a7a56401e79b1f
* hwc: release fence in perform_fimcShilin Victor2019-02-231-22/+35
| | | | Change-Id: I2039939c42a76567874ec0e1100ab1cbff95ed39
* hwc: disable FIMGShilin Victor2019-02-232-3/+4
| | | | Change-Id: I61f764973d4b3bb350a99a69804b96995addee70
* hwc: verbose layer debuggingShilin Victor2019-02-231-4/+17
| | | | Change-Id: I5f21254c0a3965b2d1629b6f1a3ccbd7aed285a1
* exynos4: HWC: move as vendor moduleShilin Victor2019-02-231-0/+1
| | | | Change-Id: Ic746a4170a60f3c79a0df5b1e0a5bed8a5838e24
* hwc: Set ioprio for vsync threadShilin Victor2019-02-231-0/+2
| | | | | | This reverts commit e334ed34ddf504921195161d2230a3b4156d9a43. Change-Id: Iceba230b667c0a4c480301bf5d662a9cf82b6df3
* hwc: RGB_565 pixel format is not supportedShilin Victor2019-02-232-3/+1
| | | | | | thanks @acroreiser Change-Id: I114fae3f6ebce32bbf0c07296a54b4fb4a599c08
* Fix build errorsDominggoes Isakh2019-02-232-0/+2
| | | | Change-Id: I4d4997e25d15b42180a1f41a01daf127bf27ca3c
* exynos4: gralloc: Ignore PRIV_FLAGS_FRAMEBUFFERDominggoes Isakh2019-02-231-2/+11
|
* Fix build errorsDominggoes Isakh2019-02-231-1/+1
|
* Revert "hwc: Set ioprio for vsync thread"Dominggoes Isakh2019-02-231-2/+0
| | | | | Depends on libcutils support, which was removed in https://review.lineageos.org/#/c/189293/.
* exynos4: hwc: add missing checks in is_overlay_supportedSimon Shields2019-02-231-1/+2
| | | | | | | make sure that if something is transformed/scaled we don't try drawing directly to FIMD Change-Id: I69be0d296c11496c5b380b7135dad10cb6c66fc8
* exynos4: hwc: disable FIMG for nowSimon Shields2019-02-231-4/+4
| | | | | | | adds significant amounts of touch latency, and also causes the LCD to die :( Change-Id: Ie777d249d02def3863049528ab8437dcacc3faa1
* exynos4: hwc: remove GRALLOC_USAGE_HW_ION usageSimon Shields2019-02-231-1/+1
| | | | | | | HW_COMPOSER means the same thing and doesn't require modifying AOSP headers Change-Id: I29d9f6348a19b5cf778a4819a3dfd511ae789e0d
* exynos4: hwc: disable FIMC scaled layers for nowSimon Shields2019-02-231-1/+10
| | | | | | seems to cause the panel to die Change-Id: I9005a1ee1fba6ef13e15572ffe5094e8fc5c6687
* exynos4: gralloc: improve allocation logicSimon Shields2019-02-231-3/+9
| | | | | | | | | A buffer that needs to be allocated in ION will either have GRALLOC_USAGE_HW_COMPOSER, or GRALLOC_USAGE_HW_ION. See https://android.googlesource.com/platform/hardware/libhardware/+/android-7.1.2_r33/include/hardware/hwcomposer.h#136 for more information. Change-Id: Ie75d369e40ce1758920d194dd1f0dafcaeb4d140
* exynos4: libhwc: HWC 1.4Simon Shields2019-02-231-5/+33
| | | | Change-Id: Ib446df60d59ddc304125d4887ac5adea8d72f9e6
* exynos4: hwc: include plane_alpha in outputSimon Shields2019-02-231-6/+6
| | | | Change-Id: Ic7cae63f4fe8ef48c7e16838c2dbdbcbf88da7b3