summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove dependency on hardware media encoding unitHEADreplicant-6.0Wolfgang Wiedmeyer2017-05-131-10/+0
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* remove proprietary bltsville codeWolfgang Wiedmeyer2017-05-1347-30133/+0
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* pvr module: set arm-none-eabi- toolchain prefixWolfgang Wiedmeyer2017-05-122-2/+2
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* remove proprietary binaries and dependenciesWolfgang Wiedmeyer2017-05-1216-30837/+0
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Include common omap4 vendor repo if available.Kyle Repinski2017-02-251-0/+1
| | | | | | Note that TARGET_BOARD_OMAP_CPU needs to be set first. Change-Id: I638f7af527b3724098d7379b58e30c7550aa1f16
* libEGL_POWERVR: Replace remaining LOCAL_LDLIBS (KK compatibility)D. Andrei Măceș2017-02-251-2/+2
| | | | Change-Id: Ib186601622cda38536dff4ac4d404dce31697c4f
* pvrsrvinit/libEGL_POWERVR: Actually ready needed vendor librariesD. Andrei Măceș2017-02-252-4/+3
| | | | Change-Id: I7c3dc8abfd9367b1b983b696d7357a27f9350b60
* pvrsrvinit/libEGL_POWERVR: Link against generic library symlinksD. Andrei Măceș2017-02-252-17/+5
| | | | | | | | Since newer DDKs may expect more generic UM prebuilt names, link against the symlinks prepared in vendor/ti, rather than matching against TARGET_BOARD_OMAP_CPU every time. Change-Id: Ibc6a3b4f92984f787ddbe9eba596875b9fbd7c26
* pvrsrvinit: PVRScopeServices symlink lives in vendor/ti nowD. Andrei Măceș2017-02-251-20/+0
| | | | Change-Id: I31b4139e3607a8bd7b4d024f6e80b2bb3d03c66f
* pvrsrvinit: define the libraries to link against in LOCAL_LDFLAGSZiyan2017-02-251-2/+2
| | | | | | LOCAL_LDLIBS isn't working below Lollipop for some reason. Change-Id: I5ade9b46634fdfd6ecc30b1a351a99e75159da23
* symlinks: Move Gralloc's to vendor/ti (together with processing)D. Andrei Măceș2017-02-251-16/+0
| | | | Change-Id: I9fb13a110e80b8775ec7f1319641638b6fc908b3
* Enable BOARD_EGL_WORKAROUND_BUG_10194508 by defaultZiyan2017-02-191-0/+1
| | | | | | But allow devices to override it. Change-Id: I540096b29249c9f834b22da7497f3d5f589f51af
* SGX-BIN: build: android: Add fallback PLATFORM_VERSION mechanismD. Andrei Măceș2017-02-061-7/+19
| | | | | | | | | | When build.prop doesn't exist (pretty much the case always), have a fallback by extracting the needed platform variable from build/core/ version_defaults.mk. This is necessary since this build information doesn't permeate here, and we would like to avoid re-including the whole core makefile. Change-Id: Ia98e0a4e6b060ad8ace8b947e6c93741a875c05d
* board/init: Common PVR KM build target for reuse by devicesD. Andrei Măceș2017-02-062-0/+30
| | | | | | | | Devices can still use their own build targets (traditionally called SGX_MODULES), or can simply include pvr-km.mk into their BoardConfig (or call inherit-product in other device MK). Change-Id: I3e201e6e0bee0c1eec9f52c36922e66937f9f57f
* SGX-BIN: build/srvkm: Drop SGX core/version suffixes everywhereD. Andrei Măceș2017-02-064-8/+8
| | | | | | In preparation for commonizing KM build targets and init insmod. Change-Id: If3d1a1c9a3510ea7ce4ab23c569c06ff5671a5ec
* SGX-BIN: buildvars: Compile PVR KM with -fno-picVishal Mahaveer2017-02-061-0/+4
| | | | | | | Adapted from http://review.omapzoom.org/#/c/38080 Signed-off-by: D. Andrei Măceș <dmaces@nd.edu> Change-Id: Ibe9beaf46c5236fc5ab477aa49e2f397000c2d6e
* libpower: Avoid overwriting custom user frequencies.Kyle Repinski2017-02-061-6/+25
| | | | Change-Id: I6fa45d7ad29eefff2c6f2ed426843b9b94fa4c92
* libpower: Initialize inited variable.Kyle Repinski2017-02-061-0/+1
| | | | Change-Id: I36c95e3c5eacaac3f5cc0480381cd582092aac8d
* libpower: Add optional support for API 0.3Kyle Repinski2017-02-062-1/+38
| | | | Change-Id: I3b401e237ceb0dde1ff038fdd58a020aec1b3134
* Add OMAP PowerHALZiyan2017-02-063-1/+271
| | | | | | Based on the OMAP PowerHAL from omapzoom.org. Change-Id: Ibc6c6779c9004dc442db436f8b68cbb191b16662
* libEGL_POWERVR: Also fix EGL_FRAMEBUFFER_TARGET_ANDROID in eglChooseConfig.Kyle Repinski2017-01-172-28/+57
| | | | | | Simplify some variable names too. Change-Id: I4b48d00c60a3ea5b0ed14170e5e5bc4cef43ef5e
* libEGL_POWERVR: Improve eglChooseConfig+recordable workaround code.Kyle Repinski2017-01-172-28/+45
| | | | Change-Id: Ica4f022ebfd484d31d7848b68462e752e60ec520
* libEGL_POWERVR: Add workaround for the eglChooseConfig+recordable issue.Kyle Repinski2017-01-172-0/+55
| | | | Change-Id: I52375bf7c3a9cecc148c2d1d168169fd0546a9ce
* Add open-source implementation of the libEGL_POWERVR shim.Kyle Repinski2017-01-174-0/+254
| | | | Change-Id: I411c1d957d5b011e922a5c1791712717997b3462
* cmhw: Account for devices that don't use manager0 sysfs pathsD. Andrei Măceș2016-12-042-4/+23
| | | | | Change-Id: I5602bfe642ed1c3bae9b5209e43362f2b6c37852 (cherry picked from commit 453e2165e3dcba2274b21b5c0a395c8624d5a354)
* omap4: Fix screencastAndreas Blaesius2016-11-081-0/+4
| | | | Change-Id: I494bf541737d66e88d6daa035c0b3398eadd536b
* cmhw: Use cmsdk FileUtilsMichael Bestas2016-06-161-1/+1
| | | | Change-Id: I1cde19085f5624d9fa80043be93c119f66e3ab3c
* domx: connection robustness improvementsLuden2016-05-011-16/+29
| | | | | | | | | | | | | | | | | CMA-enabled kernel for tuna devices will unload Ducati firmware when it's not in use to free extra memory for applications. On the first access to /dev/rpmsg-omx1 it will reload the firmware. However, in the process of this reloading device drivers will be reset, therefore causing errors when either opening the device or performing the first operation on it. Moreover, the previously opened handle will be invalidated in this case. Therefore, the connection loop is modified to retry both open() and first ioctl()calls instead of just open() and to reopen the device on retries. Also, because the reload can happen relatively fast when there are not too many pages to migrate, we use smaller waiting period but increased number of retries to improve camera start latency. Change-Id: I4b919f457c0e3bc43f99381c405e364b3326f583
* camera: fix large tiler memory leakagesLuden2016-04-221-0/+11
| | | | | | | | This should fix large (>10M) tiler memory leakages that often occur when the camera is closed. There are still smaller leaks left (several 4K pages per run), but these are much less damaging. Change-Id: Icc442407d357eeff4a1bce9edeff0f186f5646d1
* domx: fix up DCC data loading when USES_LEGACY_DOMX_DCC is setZiyan2016-02-061-1/+8
| | | | | | | The 'dcc_loaded' local static variable was never reset properly. Change-Id: Id4ceddea6153d897456e0f845f3818be5dfbae36 (cherry picked from commit 881a349f9721837f2556b6ed8214fecbf7a19f27)
* Add common omap4 init fileZiyan2016-01-262-0/+20
| | | | | | Add 'import init.omap4.rc' to the device init file to use it. Change-Id: Ic0b8257b66b2d82bf9171ff7644a5689e0ab030d
* Add common sepolicyZiyan2016-01-266-0/+28
| | | | Change-Id: Id08f4e07439763f6d5069dfbb82fab15648fd80e
* sgxfreq: set correct frequency limit on omap4460/4470Ziyan2016-01-242-1/+21
| | | | | | | | | | | | | | Commit 5e398ba changes how the initial frequency limit is selected: instead of selecting the highest avaliable one, it hardcodes it to SYS_SGX_CLOCK_SPEED, which is defined as 307200000 Hz for SGX540_120. However, omap4460/4470 devices use 384000000 Hz, so we end up underclocking them. Instead of hardcoding these frequencies, let's just use them as a reference frequency, and use the first frequency that is less than or equal to the correct reference frequency. This way, we can ensure a safe frequency set on kernels with custom SGX clock frequencies enabled. Change-Id: Ic55be55dbb5c9d4a3807096209cdf07bbbdca719
* add CMHW for ColorCalibration/LiveDisplayMichael Gernoth2016-01-131-0/+85
| | | | | | | This uses the color phase rotation hardware of Omap4 to set RGB calibration values. Change-Id: I101953fbac46235a178824f9d94470b4fe558b76
* gralloc: disable GRALLOC_USAGE_CURSORMichael Gernoth2016-01-082-1/+22
| | | | | | | Disable the GRALLOC_USAGE_CURSOR-flag when gralloc.h is included as our gralloc-blob can not handle it. Change-Id: I88baf92de9a74939b65f89e9628b62be88cfaede
* camera: add Pixel{X,Y}Dimension and Orientation EXIF tagsMichael Gernoth2016-01-072-3/+33
| | | | | | | | These tags are needed by the CM13 camera to not crop images to square when shooting portrait. As the camera HAL already rotated the picture, always set orientation to 0. Change-Id: Id8b6aac5369ae3adfdfec0ec7528edc849bd3b10
* domx: add support for tunaZiyan2016-01-034-0/+73
| | | | | Change-Id: Ibdf65581caca78b2daa41ac9898383f4c3d38097 (cherry picked from commit e57f2b6f67a2b87da5b9c2f2b82e6cc28eef819b)
* camera: fix build for recent 6.0 releasesZiyan2015-11-071-3/+3
| | | | | | | | | | Frameworks/native commit e2806cb4456e3815e979f333ed23ec7df591a9ff made SensorManager(const android::String16&) private. Let's use SensorManager& getInstanceForPackage(const String16& packageName) instead. Change-Id: I15a582a7a6919c341958188da0c9168045de57e7
* sgxfreq: limit frequency to default on bootKetut Putu Kumajaya2015-11-071-1/+1
| | | | | | | If extra GPU frequencies available (because of overclock), we have to limit it to default value on boot. We can set to higher value later Change-Id: Ibd6962a71fab7790f3dadfe2a4b31b849b9c3424
* domx: Fix GetParameter crashing with OMX_IndexParamConsumerUsageBitsZiyan2015-10-241-0/+7
| | | | | | | | | | Thanks to Kyle Repinski <repinski23@gmail.com> for pinpointing the issue, I just ifdef'd it and modified the return value to OMX_ErrorNotImplemented. Since OMX_IndexParamConsumerUsageBits is fairly new, we're assuming none of the current omap4 ducatis implement it. Change-Id: Ib1e26c8be36d90ef1624699a5d4107ae25794951
* domx: pass ANDROID_API_CFLAGSZiyan2015-10-211-0/+1
| | | | Change-Id: I4b2f8b72601aae7c4baedd91ddfb6d6437de73f7
* sgxfreq: add sysfs interface to store frequency limitKetut Putu Kumajaya2015-10-181-1/+21
| | | | | | | | | Utilize all in kernel GPU frequencies but we can limit it to spesific value. Replacement for the old in kernel gpu_oc sysfs interface to verclock the GPU, have no harm to non-overclocked kernel Change-Id: I2d9d1f05b0306de074ffdd327e9bf2a23c9d973f (cherry picked from commit b401521a4f1f8fad4daf3e261c27177873346cf4)
* camera: fix build for MMZiyan2015-10-132-0/+16
| | | | Change-Id: I1bdd4510dc54517e70b2bc196b6e371520665661
* android-api: add MMZiyan2015-10-131-0/+6
| | | | Change-Id: I0a17b1fd55aa1488e7b8c4cdde4d8aebc02bc6b5
* camera: add support for espressoZiyan2015-08-152-0/+23
| | | | | | Adds support for camera on the Galaxy Tab 2. Change-Id: I8580dac218593b31e789f372ebb1f294d66cd5c3
* camera: fix build when TI_CAMERAHAL_DONT_USE_RAW_IMAGE_SAVING is setDániel Járai2015-04-011-0/+4
| | | | Change-Id: I5d055f7da992c9c0fd71823c6ca0f18c95fc3be8
* camera: fix front-facing cam on Motorola Omap4Michael Gernoth2015-02-271-0/+4
| | | | | | | Missed this bit when migrating to hardware/ti/omap4. Without it, the front-facing camera can't be used. Change-Id: I1a47d2991afa71840225f0cab9f27a155eaed780
* camera: Add support for camera on motorola devicesMichael Gernoth2015-02-2111-1/+453
| | | | | | | This adds flash-support for motorola devices and disables unsupported functionality. Change-Id: Ib1107d78641ca1ded61e8adb88ab7e8951e4ec74
* domx: Add structures and indices for Motorola devicesMichael Gernoth2015-02-212-1/+51
| | | | | | | These additions are only enabled when BOARD_USE_MOTOROLA_DOMX_ENHANCEMENTS is defined. Change-Id: I47d559d4908b7f5da2b1b3370a736a13376ef464
* change location references from omap4-next to omap4Hashcode2015-02-165-6/+6
| | | | Change-Id: I6e1c712b8320527e52b02b0e90a7e8340e93ccec