summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* camera: add 1280x720 camera size for KFire HD'sHashcode2015-02-161-0/+2
|
* camera: fix capabilities framerates for Jem (KFire HD 8.9)Hashcode2015-02-161-8/+22
|
* hwc: add OMAP_ENHANCEMENT_HWC_EXTENDED_API for framework supportHashcode2015-02-063-1/+18
| | | | Most devices will leave this undefined until k3.4 + framework changes
* remove camera.omap4 from build. devices can add if needed.Hashcode2015-02-061-1/+0
|
* fix pvr build for kernel optimize for sizeHashcode2015-02-061-0/+1
| | | | Change-Id: I86784430c09426e0a3d14a44e5a0095be4acd1fb
* sgxpvr: Don't ignore interrupts when preparing to sleep.Oleg Drokin2015-02-061-2/+2
| | | | | | | | | | | Setting the "ignore interrupts" (aka powering_down) mask too early in sleeping preparation hits the assertion later on when the code tries to wait for interrupt acknowledging command reception. This also stops kernel complaints about unhandled interrupts from the gfx. Move the setting to just before we really power down the gfx cores. Change-Id: I5451cca3573bde0a37687ebd08b039e45946652c
* SGX-BIN: DDK binaries and KM source 1.9@2291151Hemant Hariyani2015-02-0628-178/+154
| | | | | | Includes new pixel formats. Change-Id: I4a56e6bff9c477610f2ce30706831f66dcc9c651
* IMG DDK 1.9@2166536 for AndroidEric Luong2015-02-06203-0/+115747
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMG DDK Release 1.9@2166536 for Android. Included in this release: - User space and Kernel module binaries - Kernel module source code TI's Patches: - 084d3db SGX-KM: sgxfreq: Enable on3demand governor as default - c1e1f93 SGX-KM: on3demand: Added polling based on timeout - 1baf19c Build: Compile OMAP4 kernel modules with arm-eabi toolchain - e166956 Build: Add production build option to build script - 9efd5d3 SGX UM: Properly update vertex shader constants when recompiled - f6e71f1 Revert "Build: Add optional flag to disable uKernel logging" - a49e042 SGXKM: Inherit PVRSRV_HAP_GPU_PAGEABLE flag - f05da87 SGXUM: Creates a new PVRSRV_HAP MAPPING CTRL mask - 0e6ac23 SGXKM: Creates a new PVRSRV_HAP MAPPING CTRL mask - 5044cbb SGXKM: Divorce Sparse Mapping from GPU Pageable - 4abdd37 SGX-KM: sgxfreq: Header for GPL license - 7a1e61b gpu: thermal: adding cooling device for "case" management - 1221aba SGX-KM: Add 'userspace' governor to sgxfreq - 7cc1319 SGX-KM: Add on3demand governor to sgxfreq - c3283ff SGX-KM: Allow sgxfreq active notification when prev state was active - 7275e62 SGX-KM: Add idle and active time caluclation to sgxfreq - e15265c SGX-KM: Add frame_done interface to sgxfreq - a021f10 SGX-KM: Add activeidle governor to sgxfreq - bbdceee SGX-KM: Add active/idle notification to sgxfreq - 4e1e8d9 SGX-UM: Rework SGX idle notification - fce3459 SGX-KM: Rework SGX idle notification - 17cdf8c SGX-KM: Add onoff governor to sgxfreq - 403caa1 SGX-KM: Add cooling device interface to sgxfreq - 1d785b8 SGX-KM: Add sgxfreq subsystem for DVFS control - 14de6d8 Build: Add optional flag to disable uKernel logging - 374bea1 SGX UM: Set ro.product.processor before loading modules - 91d286d SGX UM: Pvrsrvinit fix typo in remount command - 3d08869 SGX UM: Remove BRN32044 for omap5 - 086f52b OMAP5: WA: Race condition when SGX is powered down - 1a904c2 SGX KM: ShrinkPagePool statistics changed to PVR_DBG_MESSAGE - fbf2890 SGX KM: Fix num_handle calculation for ion handles - 322af97 BUILD: fix usage and help - 50440d3 BUILD: Add install option "adb" - ee66bfb pvr-km: gc: Add page offset for ion allocated buffers - be4fe11 pvr-km: gc: Improve gc map/unmap logging - 51da16d gralloc: Map NV12 buffers with the GC MMU - 210b590 SGX-KM: Enable APM for OMAP5 - 31e2f05 SGX-UM: Enable APM for OMAP5 - a98b81b SGX-UM: Don't load omaplfb module when in-kernel driver is present - b20f5c6 SGX-KM: Support in-kernel omaplfb - 0955f19 SGXKM: Multi-plane support for deviceclass i-face - 11f6682 build: remove omaplfb from install step - 9ecd6e0 pvr-um: use arm-linux-androideabi- and fix JB debug build - abef31d PVR-UM: Make pvrsrvinit wrapper compatible with Jellybean - 5b4e4f0 Revert "SGXUM: Implements Gralloc late CPU mapping" - 5f25289 SGX-UM: build - Remove target platform based configuration - 9d5ac31 OMAP5: BUILD: Remove unused variable - 5365b64 readme: Correct DDK version - 8095cc6 SGX-UM: Add support for hardware specific powervr.ini files - 7e13d26 PVR-UM: Add support to DDK for powervr.ini files - e545f59 SGX-UM: Added 16 bit depth EGL configs - 27da0ae SGX UM: Srvinit block until services ready - ba35538 SGX UM: HAL block OpenPVRServices until services initialized - 43f8c1f SGX UM: Fix calculation of chroma plane in blit_internal - f6a6944 SGX KM: Dump dsscomp info during HW recovery - fc6d85b SGXKM: Adds support for 1D buffer allocation - d8d061b SGXKM: Do not perform explicit invalidate on mmap - 3ac6e1f SGXUM: Implements Gralloc late CPU mapping - b621744 SGXUM: Gralloc allow for late or no GPU mapping - dde30cf SGXUM: Add allocation of images from system heap - 552c0f5 SGXUM: Adds A8/U8/Y8 color format to WSEGL - f1c7822 SGXKM: Increase XPROC_WORKAROUND to 500 - 65f61bf SGXKM: Fix cc-check.sh file permissions - 0dfe392 SGXKM: Make the DMM offset optional - 946eb30 gralloc: add support for GRALLOC_USAGE_EXCLUSIVE_DISP - 5cf7248 gralloc: publicly define omap specific usage flags - afcb9bd SGX-KM: Block DPLL cascading when SGX clock is enabled - 616ff0b SGX-KM: Hold wake lock during hardware recovery - 872b4c0 SGXKM: Fix NULL handle warning when blitting GC320 - 39de55c SGXKM: Allow for late or no GPU mapping - d229a7b SGXKM: Allow for SW access to a tiler buffer - 7024790 SGXUM: Adds YUV plane offsets for MM - d202649 SGXKM: SGX Tiler non-page-aligned support - 2b2ac18 SGXUM: Implements GPU Common Buffer Interface - 86cd052 SGXUM: Multi-buffer manage bridge - d272c49 SGXKM: Multi-buffer manage bridge - 4d8facf SGXKM: Implements Heap Alloc Failure Report - 6d4253a SGXUM: Add support for GPU unmap/remap - 64f4805 SGXKM: Add support for GPU unmap/remap - 5425356 SGX-KM: Use CONFIG_DRM_OMAP_DMM_TILER for kernel 3.4 - 853be19 SGX-KM: Use pud_offset to get pmd_offset - 5ec5d70 PVR-KM: Prevent compilation of dc_omapfb3_linux - 1bbe8a2 SGX-KM: Remove hardcoding of values in egl.cfg - 83b8af6 pvr-km: kfree phys info at unmap instead of map - f347fb9 pvr-km: add a struct size to the physical descriptor - 6ccff8f gralloc: Set flag to enable GC MMU mapping in PVR services - 0cfaa6d PVR-KM: Add function to obtain BV descriptor through 3PDC interface - c8f4c5f PVR-KM: Map buffers to GC core MMU on allocation time with Bltsville - 65b2b84 SGXKM: Prevent mapping of export with zero ref - f4cc0a2 OMAP4-SGX-UM: Allow for tiler buffer SW access - 5c97ded OMAP4-SGX-UM: Gralloc SW access and caching flags - bbf5424 OMAP4-SGX-UM: Gralloc HAL_PIXEL_FORMAT_NV12 format - ec6cc69 SGX-KM: Make PVRSRVExportFDToIONHandles generic and register it with ion - 8c1255d PVR-KM: OMAP5: Use shared device for Tiler 2D Mappings - 2391ac8 PVR-KM: OMAP5: Hardcode core version value - 7d87962 SGX-KM: OMAP5: HACK: Set the size of the SGX registers - 9f40224 SGX-UM: add detection of OMAP5432 in pvrsrvinit - f75d48b SGX-UM: build: Add panda5 and omap5sevm to product list - c23eff9 SGX-KM: BUILD: Add OMAP5 support - 5cc4ade SGX-UM: BUILD: Consolidate build into a single Makefile - 2c6a2f6 SGX-KM: (build) Remove Android product and version dependency - 6f54fe8 Build: Don't install egl.cfg anymore - a49c59c SGX-KM: egl.cfg sysfs entry - c759928 SGX-KM: Enable DPF, TRACE and ASSERT - 1628094 build-km: Enable blaze and blaze_tablet for ICS environment - 05f00eb build: Enable blaze and blaze_tablet for ICS environment - 542e279 SGX-KM: Add ability to build multiple sets of GFX kernel modules - 69d3661 build: Set correct load directory for kernel modules. - 2dfe14b KM: add support for sgx544sc - 58f317a SGX-UM: Add ability to build multiple sets of GFX binaries - 04e5deb SGX-KM: Use platform data for OPP symbols. - 5eed373 SGX-UM: Enable building binaries for specific SGX - 0801be2 readme: Add README - 649d010 build: Add build_DDK.sh - fe34640 Create gitignore file - 519ca9a IMG DDK 1.9@2166536 for Android Change-Id: I4a060344fa134a2484d1b7a69fc87963455e9e34 Signed-off-by: Eric Luong <x0119002@ti.com>
* pvrsrvinit: create binary in /system/bin not /vendor/binHashcode2015-02-061-1/+1
|
* common: add BoardConfigCommon.mk for devices to useHashcode2015-02-031-0/+81
| | | | Adds general omap4 setup flags
* camera: fix compile warningHashcode2015-02-031-2/+2
|
* camera: add OV9726 sensor definesHashcode2015-02-033-1/+5
|
* camera: clean up build for when OMAP_ENHANCEMENT_CPCAM is not definedHashcode2015-02-034-11/+10
|
* camera: don't hang while taking pictures in VIDEO_AF_STATEMichael Gernoth2015-02-032-7/+22
| | | | Change-Id: I6ef62da68b82ece315cfb5c6101d8e8c5776b29c
* camera: don't start AF again in VIDEO_AF_STATEMichael Gernoth2015-02-031-1/+1
| | | | Change-Id: I148ab5bd10276b6a9e4ce852435a731e1e500554
* camera: don't drop focus-callback in VIDEO_AF_STATEMichael Gernoth2015-02-031-0/+1
| | | | Change-Id: If580892f35bdfb4ae7071d34b6194fff3773f30a
* camera: handle CAMERA_QUERY_BUFFER_SIZE_IMAGE_CAPTURE in VIDEO_AF_STATEMichael Gernoth2015-02-031-0/+7
| | | | Change-Id: Ib6b7cd411858674f4b9b96076ac71c551687b918