summaryrefslogtreecommitdiff
path: root/gralloc
AgeCommit message (Collapse)Author
2017-05-30HiKey960: Properly integrate mali bifrost gralloc for HiKey960John Stultz
This properly integrates the mali bifrost gralloc implementation for HiKey960. This change depends on a pristine libGLES_mali.so which needs an updated arm vendor package. However, after this change, the hisi vendor package is no longer necessary. Change-Id: I7a01911a911525ba6f2dae6cfb0adc1d22412c06 Signed-off-by: John Stultz <john.stultz@linaro.org>
2017-05-08gralloc: fix numFds for framebuffer handlesChia-I Wu
It is an error to claim one fd, while the fd is -1. Bug: 37550237 Test: boots Change-Id: I7ad0d7c2bbe0bff8f462666bbf5fab38e9115578
2017-05-08gralloc: make register framebuffer no-opChia-I Wu
Bug: 37550237 Test: boots Change-Id: Iccc7a5dd5bb9deb980783ccc15ad8f50243c21b4
2017-05-08gralloc: do not use private_handle_t::ion_hndChia-I Wu
This makes private_handle_t native_handle_clone friendly when GRALLOC_ARM_UMP_MODULE is not defined. Bug: 37550237 Test: boots Change-Id: I6c489eb4f8f6791ab91ddffe55d9ce3dc96509a0
2017-05-08gralloc: make fbdev fd a shallow copyChia-I Wu
We never free private_module_t::framebuffer once it is initialized. We can use a shallow copy of the fbdev dev. Bug: 37550237 Test: boots Change-Id: I552b40c0a59d9f4ec5442e3a284f115a88061c3e
2017-05-03hikey: Compile gralloc only for hikeyDmitry Shmidt
Test: Manual Bug: 37957838 Change-Id: I1f639b31eb9c95f0845b0571b5535f5d44aabff7 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-05-03hikey: Check framebuffer memory allocationandroid-wear-o-preview-4android-wear-o-preview-3android-o-preview-2Jinguang Dong
Resolve the crash when the framebuffer dev malloc failed Test: Compiles and device boots up. Change-Id: Idb0d0038d351c1ac71c289799f7fd639728f40b7
2016-02-04gralloc: Update gralloc source to e219158a67fbfbedbac9John Stultz
This patch updates the gralloc source to: Subject: Add support for hikey Sha1: e219158a67fbfbedbac99e15809b948313aeb5fa From Xinliang's tree here: https://github.com/xin3liang/gralloc-mali.git Also inlcudes minor whitespace/style fixes and corrected LOCK_STATE_READ_MASK value, noticed in review on Gerrit. These changes are needed to support the r6p0 version of the binary mali graphics libraries. Change-Id: Ia33671447b36fd83da544af6da8ec6ce48e80b05 Signed-off-by: John Stultz <john.stultz@linaro.org>
2015-12-07Include gralloc sourcesVishal Bhoj
Change-Id: I1c77c89ea568ca69732b507ebab9f1696dec9398 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>