Christopher N. Hesse [Sat, 12 Dec 2015 10:49:42 +0000 (11:49 +0100)]
ril: Unify network elements property check
frameworks/opt/telephony is using a slightly different named property
to check for the QANElements count.
Align the check here to the frameworks one to avoid redundancies.
Change-Id: I22f7cf070953026798d0ae4759e3c9845dba767c
Dheeraj CVR [Sat, 30 May 2015 19:08:59 +0000 (23:08 +0400)]
exynos: multimedia: speed up color conversion from ARGB8888 to YUV420SP
Use NEON instructions for color conversion from ARGB8888 to YUV420SP. This
greatly improves performance and can help achieve 30fps+ framerates when
dealing with OMX_COLOR_FormatAndroidOpaque during Screen Recording and
Screen Casting.
Change-Id: Ifdaaf03e1ce6909822df3f046ef35dd977b84d17
Caio Schnepper [Mon, 30 Nov 2015 13:05:10 +0000 (11:05 -0200)]
libgralloc: Fix refresh rate calculation
Calculated refresh rate can be 3% off
Reference: https://code.google.com/p/android/issues/detail?id=69391
Change-Id: I3b4efefcc0aef695ba48abdfb61f6d38b9d0a79c
forkbomb [Mon, 23 Nov 2015 07:37:37 +0000 (18:37 +1100)]
libril: fix compilation with debugging enabled
Change-Id: Iac159175a23b2810e56c38fb82cae58c20dddb8e
rogersb11 [Tue, 13 Oct 2015 02:03:21 +0000 (22:03 -0400)]
samsung: Compilation fixes
* Add missing headers
* Cast values to correct types
Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
Andreas Schneider [Fri, 23 Oct 2015 06:36:26 +0000 (08:36 +0200)]
ril: Use debug log level and not error
Change-Id: I8f017cb181967790260183fd06d1226d303bd2b8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 22 Oct 2015 14:20:51 +0000 (16:20 +0200)]
ril: Fix network operator search
Newer RIL versions have more QAN elements so we need a way
to adjust them to the correct value.
This needs to be set to same value as mQANElements in the RIL Telephony
class.
Change-Id: Icfad9c0acf1b95f63c232b6c4c49ed52bd4e3aa4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Caio Schnepper [Mon, 19 Oct 2015 23:06:03 +0000 (21:06 -0200)]
exynos4: Fix build of hwc and gralloc
HAL_PIXEL_FORMAT_RGBA_5551 and HAL_PIXEL_FORMAT_RGBA_4444 are used
by our hwc and gralloc, but they no longer exist in /system/core/include,
so we are moving these two formats to the hardware specific repo
Change-Id: I1c214af3b9819290173d2d60122d45a8ac635faf
Nathan Harold [Tue, 28 Jul 2015 21:54:58 +0000 (14:54 -0700)]
Modify RIL Unsol Message Wakelock to 200ms
bug:
22456054
Change-Id: Id41e001f98b455bec5f004438f5d8498b17aaf2d
Prerepa Viswanadham [Thu, 28 May 2015 07:37:32 +0000 (00:37 -0700)]
Modem activity info
Change-Id: Iab8fbdeae0867c6e9cb9027b08317b1b5a2c9dfc
Chih-Hung Hsieh [Wed, 6 May 2015 22:12:30 +0000 (15:12 -0700)]
Add missing extern "C" declaration.
BUG:
20891299
Change-Id: Iedfd2e8e5bd32014f011352898763bcc0887b6b9
Robert Greenwalt [Wed, 29 Apr 2015 23:57:39 +0000 (16:57 -0700)]
Remove verbose logs
Several things are redundent except for the fact
messages are reaching rilc. Left in in case we need to debug
the layer, but blocked out with #if VDBG
Reduces startup logging to radio buffer by 20%
Change-Id: I95099457ea365ee108e7da8e1f81434531b6b9f0
fenglu [Tue, 14 Apr 2015 21:53:55 +0000 (14:53 -0700)]
Link Capacity Estimation - RIL support
Change-Id: I9c4d4901d823d719be2b8bdec64f08eda342de53
Vinit Deshpande [Wed, 15 Apr 2015 20:31:05 +0000 (13:31 -0700)]
Fix build issues after the merge
Change-Id: Ia856311187a0b2168cb859bd8b2300ff59df6569
Mark Salyzyn [Thu, 9 Apr 2015 14:18:35 +0000 (07:18 -0700)]
libril: tag RILC messages to radio log
Change-Id: Ia3234aa933249eb9f383c7e45c3f67b3c0c50634
Dheeraj Shetty [Wed, 2 Jul 2014 19:27:57 +0000 (21:27 +0200)]
Introduction of the new SAP-UIM socket
Added new socket connection for communication between the SAP module
in Telephony and User Identity Module with DSDA support.
New classes added are:
RilSocket
---------
Base class(virtual) for any type of socket. Has listen
and commands callbacks similar to that of the existing
telephony->rild socket.
RilSapSocket
------------
Derived class for socket for communication between BT SAP
and the sim module in the modem. It initialises
socket, calls Sap_Uim_Init to get the handles and
starts the socket thread.
rilSocketQueue
--------------
Queue for managing socket requests.
Change-Id: I8828173941d6ae76f1f9cc0d567efaf41a77d175
Nanik Tolaram [Tue, 3 Feb 2015 01:50:04 +0000 (12:50 +1100)]
Removal of dead code and adding log messages to make it easier
for debugging
- Add more logging using ALOGD(..) for function dispatchSmsWrite,
dispatchDial, dispatchSIM_IO, dispatchSIM_APDU, dispatchCallForward,
dispatchRaw and dispatchCdmaSmsAck. To make it easier for debugging.
- Remove commented log message inside wakeTimeoutCallback () function
and remove the else clause as it's dead not used for anything.
- Modify log message inside removeFromList and removeWatch using +
and - to make it consistent with the other log message.
Change-Id: Ife0212e6a4724d8b06a1dd767484bfdf98b8e1a6
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
Elliott Hughes [Fri, 9 Jan 2015 23:27:28 +0000 (15:27 -0800)]
We have POSIX clocks.
We're probably not running the RIL on a Mac.
Change-Id: Ib6be56cd26d67e2b72b559cb364b1e34ab613016
Caio Schnepper [Wed, 14 Oct 2015 19:07:24 +0000 (16:07 -0300)]
libgralloc_ump: Fix build
Included legacy <pixelflinger/format.h> to continue
using "GGL_PIXEL_FORMAT_L_8" pixel format
Change-Id: If08f90333bbcd9857f0dbcb462aaf6e8ad4d689f
Christopher N. Hesse [Wed, 16 Sep 2015 09:00:56 +0000 (11:00 +0200)]
macloader: Including missing errno header
Change-Id: I25ea307e4f4f8754563fc69f53db9e5c087c3bfb
Caio Schnepper [Sat, 10 Oct 2015 05:14:28 +0000 (02:14 -0300)]
macloader: include errno.h
Fix build
Change-Id: Ib60f66ddc2065bc92cd32e507ae9f3a5023f54c2
Andreas Schneider [Wed, 16 Sep 2015 14:48:44 +0000 (16:48 +0200)]
ril: Support new sound manger RIL responses
New version of Samsung RIL do not use RIL_UNSOL_WB_AMR_STATE anymore.
There is a Sound Manager (SND-MGR) which has its own response base
(20000). So to be able to register a handler for
RIL_UNSOL_SNDMGR_WB_AMR_REPORT
with libsecril-client we need to know about it. This allows us to
register a callback in the audio HAL to turn WB support on.
WB_AMR_REPORT report 0x00, 0x01 or 0x02. I guess 0x01 is WB ON and
0x02 is WB + NS ON.
Change-Id: I403c86781551fc3b08354187322e8443402d56f6
Andreas Schneider [Mon, 24 Aug 2015 17:55:42 +0000 (19:55 +0200)]
libsecril-client: Fix SetCallAudioPath for current devices
Change-Id: I38f10432f8e9a257af3e74312616d07698edd20f
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Christopher N. Hesse [Fri, 26 Jun 2015 12:53:56 +0000 (14:53 +0200)]
libril: Add support for ST-Ericsson Thor M7450 modems
The M7450 modem used in the Galaxy Note 4 (N910C variant) uses a libril
implementation similar to the one employed for Intel XMM* modems by Samsung.
This probably needs future adjustments, but so far fixes basic call functions
and signal strength is displayed correctly.
Change-Id: I2d070102ad11746902527da3c2c7f49485c7d7f1
Andreas Schneider [Tue, 23 Jun 2015 16:41:38 +0000 (18:41 +0200)]
ril: Fix compilation with debug messages turned on
Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Dheeraj CVR [Sat, 30 May 2015 19:44:33 +0000 (23:44 +0400)]
exynos: multimedia: fix resubmitting CSD for NuPlayer
Ignore OMX_BUFFERFLAG_CODECCONFIG to fix issues while resubmitting CSD.
This fixes issues with seeking during playback when using NuPlayer.
Change-Id: Id307100cb48608e6e3f09948838486da4948578c
NBruderman [Mon, 8 Jun 2015 12:54:55 +0000 (15:54 +0300)]
libril: Fix element count
This lines should drop every 5th element (#5,#10,#15,...).
At the moment it is dropping elements #6, #11, #16, as it start from 0
and the list start from 1. So let's match it up.
Thanks to Tobias Heinemann for the idea.
Change-Id: Idc2904040119716e666ea0fe320cde1d45869ee5
Utkarsh Gupta [Sun, 10 May 2015 11:23:37 +0000 (16:53 +0530)]
libril: Fix network operator search
Change-Id: Ib904875c403942ec96dfa229080d9543d7c9b8fa
Utkarsh Gupta [Thu, 23 Apr 2015 07:51:49 +0000 (13:21 +0530)]
libril: Fix signal strength for xmm6260 too
Change-Id: I3b35eb2c18df9110c7ec1bd3cf989cd34cc18fd7
Caio Schnepper [Mon, 27 Apr 2015 02:01:22 +0000 (23:01 -0300)]
libfimg3x: Remove android_pmem.h include
Change-Id: I514e96676578a97b9481643e58a0e49a8d017678
Caio Schnepper [Tue, 14 Apr 2015 11:03:43 +0000 (08:03 -0300)]
libril: Add missing semicolon
Change-Id: I681e98abf600cd78a0783919d00b0acd215c6aaf
Andreas Schneider [Mon, 13 Apr 2015 21:04:05 +0000 (23:04 +0200)]
libril: Avoid strncat which doesn't check if we overflow
Change-Id: I547e071316e8b4492b9837aae2096f27c02b67db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 13 Apr 2015 20:54:49 +0000 (22:54 +0200)]
libril: Make data a const pointer in RIL_onUnsolicitedResponse()
Change-Id: I5b57da9e2672ea8455481e55794c33759cb741db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Utkarsh Gupta [Mon, 13 Apr 2015 08:03:37 +0000 (13:33 +0530)]
libril: Fix signal strength
Change-Id: I81ce6dbb99a04c62666823602d1b72bb3fc50a1c
Daniel Hillenbrand [Sun, 12 Apr 2015 09:53:23 +0000 (11:53 +0200)]
libril: rewrite preferred network type
NETWORK_MODE_GLOBAL => NETWORK_MODE_WCDMA_PREF
Change-Id: I3087e4be3a6ff700b39544279fa0e265b9182180
Howard Su [Sun, 12 Apr 2015 08:25:05 +0000 (10:25 +0200)]
libril: move samsung specific into seperate table, update to v11
Change-Id: I6c7121a30dbbf9edc9573b8f2dee308366bab9a1
Andreas Schneider [Tue, 7 Apr 2015 17:01:54 +0000 (19:01 +0200)]
libril: Readd support for MODEM_TYPE_XMM7260
Change-Id: I395e9cbfd1a42334e5e6bbb706eef9be157ecd24
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 7 Apr 2015 17:01:34 +0000 (19:01 +0200)]
libril: Fix #elif for MODEM_TYPE_XMM6260
Change-Id: I71e64103aba6b374b6181f557030409be084bb25
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 7 Apr 2015 16:58:14 +0000 (18:58 +0200)]
libril: Use consistent names for modem defines
Change-Id: I3ac65d2458878a6a631439be4f830c851aa50759
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 7 Apr 2015 17:14:05 +0000 (19:14 +0200)]
libril: The data variable should be const
Change-Id: I72a694e603c1ff18b09e3c3208cae8c5af937513
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Tue, 7 Apr 2015 17:13:42 +0000 (19:13 +0200)]
libril: Fix processRadioState prototype
Change-Id: I19c5c2319fe4110c3859012a27a08d5c7f942177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
K Yasu [Tue, 7 Apr 2015 13:10:03 +0000 (22:10 +0900)]
Fix the build error of some samsung devices which provides libril (e.g. ks01lte)
This fixes the merge error of commit
56b8dcfa3094f93698dda9f6731fa845f00ef287
Change-Id: I0efd718a85376059cad57ac9715673cbfb2e596f
(cherry picked from commit
f8e5e164804f1408c2350dade3fd92d561e7076c)
Howard Su [Wed, 7 Jan 2015 07:55:57 +0000 (15:55 +0800)]
libril: Merge xmm6262 and xmm6260 to single lib.
The difference between two libs are very minor,
includes one hack around ucsInfo and the logic
to adjust signal strength. Besides that other
diffs are some logs.
The new version of code is minaly based on xmm6262,
especially the logic to adjust singal strength.
Merge them to easy maintain the code.
Change-Id: I76390541d017576591860c8701bb9763c460b8be
(cherry picked from commit
56b8dcfa3094f93698dda9f6731fa845f00ef287)
Andreas Schneider [Fri, 23 Jan 2015 21:41:22 +0000 (22:41 +0100)]
librilsec-client: Add support for xmm7260 modem
Change-Id: If287527a26a1f5c79ec493ad2cd1cd7152ba27db
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Thu, 1 Jan 2015 18:00:04 +0000 (19:00 +0100)]
libril: Add support for xmm7260 modem.
Change-Id: Ia3749bd4c43a2e233e722462dd6423fe8c692177
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 21:56:30 +0000 (22:56 +0100)]
macloader: Add support to set nvram calibration file.
Change-Id: I0eb99ad6084eb8cd4452a91b13dd75384785f5a8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit
e283a09f99d0cbad2cf8b903ffe2da1c3e44663e)
Franco [Tue, 27 Jan 2015 23:44:35 +0000 (20:44 -0300)]
cmhw: Add touchscreen hovering support
Change-Id: Ia581d6cc6f30b3de91c08ed5be3c4ba76b9a5d31
Andreas Schneider [Mon, 26 Jan 2015 21:49:49 +0000 (22:49 +0100)]
macloader: Fix log output and return value.
Change-Id: Ic306ffd3bffc274406b9c11513a7ae2794578d16
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 21:45:26 +0000 (22:45 +0100)]
macloader: Use a variable for device type.
Change-Id: Ice29862ad6aaa15b07d6341893b0b8f1c65152e6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 22:30:13 +0000 (23:30 +0100)]
macloader: Close file when we don't need it anymore.
Change-Id: Ib539b45ed45f1dcfc9eea0475adb9c50d17011b5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 22:29:18 +0000 (23:29 +0100)]
macloader: Use fchown() to change owner of the cidfile.
Change-Id: Ia99c0ae414366d91b6d0112f50b00630749ea570
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 22:19:03 +0000 (23:19 +0100)]
macloader: Use fchmod() to change permissions.
Change-Id: I18bca9b022dba24403867b022af9d858aad72bc4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 22:14:17 +0000 (23:14 +0100)]
macloader: Fix build warning with LOG defines.
They need to be set before log.h is included or we will get redefiniton
warnings.
Change-Id: I87e971d32139a807998468e6a781e1f39dd7a8e5
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Andreas Schneider [Mon, 26 Jan 2015 21:58:30 +0000 (22:58 +0100)]
macloader: Make macloader a C file.
Change-Id: I6bd4a324cc5a596f2900027615b83f73736d12e0
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Christopher N. Hesse [Sun, 25 Jan 2015 16:38:23 +0000 (17:38 +0100)]
macloader: Add SEMCO for BCM43569
Values were read out from a Galaxy Note N910C (Exynos) running stock KK.
Change-Id: I3ce4bd360633642c423482070d18af035f50d8d9
Howard Su [Sun, 4 Jan 2015 09:33:32 +0000 (10:33 +0100)]
libril: use ip address as gateway in ppp network.
Fix data until these commits are completed:
http://review.cyanogenmod.org/82277
http://review.cyanogenmod.org/82329
Credits to Howard Su
http://review.cyanogenmod.org/80947
Change-Id: Iab88fd8d4ed1089cfdb724aa460597f6e39003bc
bmork [Sat, 3 Jan 2015 18:31:26 +0000 (19:31 +0100)]
XMM626x: fix Samsung RIL v9 update
The Samsung proprietary RIL commands are mapped using the
same array as the standard commands. This means that the
MAX and UNSOL_MAX macros must be updated whenever standard
commands are added, or the Samsung commands will noe be
correctly mapped.
Change-Id: I68ebc62e1967c5d027fc407eaeef480e735734f8
Ricardo Cerqueira [Sat, 3 Jan 2015 18:30:06 +0000 (19:30 +0100)]
lights: Clean up light priorities and dedupe code
Attention > Notification > Battery
Change-Id: Ie3d17aced31673b281d718b76973d5774707a21d
Andreas Schneider [Sat, 3 Jan 2015 18:29:28 +0000 (19:29 +0100)]
macloader: Add SEMCO3RD and WISOL for BCM4354.
Change-Id: I165f10d339acaa700f3e4e4b6f4576fda1da09a5
MarcKe [Tue, 30 Dec 2014 16:52:55 +0000 (17:52 +0100)]
macloader: add new murata vendor ID
Change-Id: If5968a040e9e8969985f0f307eb4a8a44486d94d
repo Shareef Ali [Sat, 27 Dec 2014 05:40:22 +0000 (23:40 -0600)]
AdaptiveBacklight: fix illegal value exception.
Change-Id: I8ea84451c8dd4be35a2d2e62547fc81a2b704dd1
MarcKe [Wed, 10 Dec 2014 18:12:54 +0000 (19:12 +0100)]
macloader: add semcosh mac address
Change-Id: I510291c32c76140c5b37eb87a00600e8b4c034c0
macloader: add new semcosh mac addresses
Change-Id: I879e224a32acadde09762f5101a776869ee56f67
Howard Su [Sat, 29 Nov 2014 06:30:07 +0000 (06:30 +0000)]
libril: remove -lpthread to fix build.
Change-Id: I3b132ef20fb5d784a3335356393c739af2fbe415
Howard Su [Wed, 12 Nov 2014 06:09:59 +0000 (06:09 +0000)]
libcamera: fix camera.
Change-Id: I8992ec58b0254c73075e5e1a7b08227958179c0e
sbrissen [Wed, 19 Nov 2014 13:26:32 +0000 (08:26 -0500)]
Exynos4: Fix build
Change-Id: Idb327b37156e2014a34a8831ce6d60769e3217af
Christopher R. Palmer [Thu, 13 Nov 2014 09:40:49 +0000 (04:40 -0500)]
libsecril-client: Remove -lpthread
Change-Id: I7f0a11a460cd3626f51a19482598cccabb13d5de
Andrew Jiang [Sat, 18 Jan 2014 23:04:08 +0000 (18:04 -0500)]
XMM626x: Update RIL to V9 [1/2]
Patch Set 2: Whitespace
Change-Id: I8ed4c470bdaccdcbb116ad2a70e7a2b6bdaf6062
JustArchi [Sun, 28 Sep 2014 21:55:36 +0000 (23:55 +0200)]
samsung: Correct macloader values
Detect is done on lower-case, so these records didn't work previously at all
Change-Id: I9a58e89679ed8aeeb194fde60cb90576aac79388
Dheeraj CVR [Thu, 31 Jul 2014 23:56:42 +0000 (05:26 +0530)]
omx_core: fix heap corruption when unregistering component
Change-Id: Ie5c20e48f376054b1fe468274128e4c19c2ef3d1
Xiao-Long Chen [Thu, 11 Sep 2014 22:13:48 +0000 (15:13 -0700)]
samsung: hardware: Add HighTouchSensitivity class
Change-Id: I811f721dab1381d637086782a8fd850051981174
Ethan Chen [Thu, 11 Sep 2014 21:45:31 +0000 (14:45 -0700)]
samsung: hardware: Set correct file mode for Java files
Change-Id: I8d7ae3cd0fcc9b785ebd0da8a8ba8029adeb20a3
Dave Daynard [Tue, 19 Aug 2014 01:15:21 +0000 (21:15 -0400)]
Hardware: Samsung: simplify CMHW isSupported check
Change-Id: Ia07e20baf5c72dc33394ae48fbacd548592c207f
Javier Ferrer [Sat, 30 Nov 2013 18:20:17 +0000 (19:20 +0100)]
WIP: exynos: SEC_OMX_H264dec.c solve dump when decoding hd and fullhd h264
Trying to open a video in Movie Studio gives a FC if video was taken in resolution 1280x720 or 1900x1080.
I've tested it on my i9300. But don't know the impact on other devices.
Change-Id: Ic2c49b17341846127817391a30d3d78c0c49138e
Ricardo Cerqueira [Tue, 20 May 2014 09:09:52 +0000 (10:09 +0100)]
Exclude generic camera implementation if TARGET_PROVIDES_CAMERA_HAL
Change-Id: I91066dfa3d271aa7f909fc8751adb74b622173d2
Daniel Hillenbrand [Tue, 25 Feb 2014 06:54:02 +0000 (06:54 +0000)]
Merge "Fix crash on boot" into cm-11.0
Ricardo Cerqueira [Sun, 2 Feb 2014 17:36:22 +0000 (17:36 +0000)]
Revert "hwc: Update to API 1.1"
This reverts commit
99f63f2a4fb8037505b34e7665e9b1d717f28d6c.
Derp, this isn't ready to go in.
Ricardo Cerqueira [Wed, 15 Jan 2014 16:50:35 +0000 (16:50 +0000)]
hwc: Update to API 1.1
Change-Id: I59a1102bb4d8e9622362c8909b122a3b99c656fd
Flamefire [Mon, 20 Jan 2014 21:18:05 +0000 (22:18 +0100)]
Fix crash on boot
There is a race condition where the sysfs-vsync thread accesses a value
(in particular a function ptr) that may not have been set yet as this
is done externally.
Change-Id: If1afb1533344e994398b9b6f5bd3dfb125313416
Ketut Putu Kumajaya [Tue, 7 Jan 2014 05:36:26 +0000 (12:36 +0700)]
exynos4x12: liblights: Fix tablets with button backlight
Also, respect the lights API and return errors when attempting to
configure an absent light ID.
Change-Id: Ida430fba2fbfaf646f7e02ce2bd7d9134ae8d917
Ricardo Cerqueira [Mon, 6 Jan 2014 18:21:01 +0000 (18:21 +0000)]
mfcdec: Compensate race condition in video thumbnail generation
Calling the decoder immediately after encoding a video often
trips on the ongoing mfc buffer flushes from the encoder that has
just shut down, and fails due to the unavailability of any buffer of
sufficient size. If MFC_DEC_INIT fails, give it 100msec and try
again. This resolves the blank thumbs when switching to the
gallery in the same session that a recording was made.
Change-Id: I13b1be8757b314e1c903a0570f9b053550164616
Pawit Pornkitprasan [Fri, 3 Jan 2014 12:13:37 +0000 (19:13 +0700)]
exynos3: libs3cjpeg: read memory configuration from kernel
This improves the flexibility (not all devices have the same FFC
resolution) and also allows optimization of memory usage.
We currently allocate 4 MB to the hardware JPEG encoder, but only
1 MB is actually needed if it's only used for encoding VGA images.
Note that the thumbnail encoding function of the kernel driver is
not used.
This patch is backward compatible with older kernels, but patching
is recommended. Cherry-pick the following commits:
http://review.cyanogenmod.org/56791
http://review.cyanogenmod.org/56792
Change-Id: I0e89b24e56b99e8e27f5a38d5c158b23021ed035
Liam Alford [Thu, 21 Nov 2013 13:55:42 +0000 (13:55 +0000)]
Added more MAC's for murata.
After finding some i9300 devices who's MAC addresses were missing from the list, i searched for all murata MAC's and thought it wise to add them.
Change-Id: I9e0db81cf2b1809b37b1660a4763db82699dd452
golcheck [Mon, 30 Dec 2013 13:22:55 +0000 (13:22 +0000)]
add 1c:99:4c as murata mac
Change-Id: I0e60940524f7e4ef652cdb2a625507d1f983b6dc
Ricardo Cerqueira [Thu, 2 Jan 2014 15:50:59 +0000 (15:50 +0000)]
gralloc: Attribute buffer ownership to last caller
Switch buffer management from creator to latest registrant
Change-Id: If6b1ab1a553f701e4a1038c089f2b2ecb02c2e8b
Ricardo Cerqueira [Thu, 2 Jan 2014 15:48:30 +0000 (15:48 +0000)]
Revert "gralloc: Allow unmapping concurrent handles"
This reverts commit
a3a9aaa5bbf0a94f1039e3eda368fa8a28ddecf8.
herna [Fri, 15 Nov 2013 13:55:25 +0000 (14:55 +0100)]
Fixed Light Exynos 4 sensor not working
Change-Id: I0a59d8ca08e210d879350df42e75acd4365326a3
sbrissen [Wed, 6 Nov 2013 18:28:15 +0000 (13:28 -0500)]
Exynos: fix gralloc build
Change-Id: Iae8c7cf947aacb6ec5c952a10a14b9d41c397ed2
sbrissen [Mon, 28 Oct 2013 19:37:34 +0000 (15:37 -0400)]
allow override of cabc file via property
Note 8's cabc is implemented in mdnie instead of the panel
file like other smdk4x12 devices.
Change-Id: I9bd7c4bb5899cd323e4f6861bf7ceb61f459da05
Ricardo Cerqueira [Sun, 27 Oct 2013 19:51:25 +0000 (19:51 +0000)]
gralloc: Allow unmapping concurrent handles
If we allow registering those buffers, we need to let them go, too
Change-Id: I6c2dc862e1e783e2b0d3c7d37d60ebe2290173fa
Ricardo Cerqueira [Fri, 25 Oct 2013 22:38:52 +0000 (23:38 +0100)]
gralloc: Allow any process to have multiple buffer handles
Change-Id: I670ff7e03b19c07094b506a4422f99c30f06db0e
Dan Pasanen [Fri, 18 Oct 2013 03:21:49 +0000 (22:21 -0500)]
macloader: add f0:27:65 as a murata mac
Change-Id: I895dc26a71253b31a2ee8ae27feeb5feb673a9bf
Humberto Borba [Mon, 23 Sep 2013 03:12:12 +0000 (00:12 -0300)]
add exynos tablet flag
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Id2a5ce769af9b87d7fbdb415ff7869f593601dc3
Joel Teichroeb [Mon, 9 Sep 2013 21:06:40 +0000 (14:06 -0700)]
Allow herring to build s5pc110
Change-Id: I1dcd00b650c7f1cf3faa8905e0161e70fa3e57f1
Daniel Hillenbrand [Wed, 4 Sep 2013 21:46:58 +0000 (23:46 +0200)]
libril: handle samsungs unsol responses
Change-Id: Ia42d9999ba0df93019a8864202f093163f8c3f41
sbrissen [Fri, 25 May 2012 13:40:54 +0000 (09:40 -0400)]
Add Red/Blue LED notification support
This will allow the use of the red/blue led's on the sph-d710
Uses BOARD_HAS_LED_NOTIF in boardconfig.
Change-Id: Ic217ed5b0ec673d03bb596fbde0ac725a5ca0887
Daniel Hillenbrand [Mon, 26 Aug 2013 17:42:40 +0000 (17:42 +0000)]
Merge changes I929fcb4f,I5fa96026 into cm-10.2
* changes:
exynos4x12: liblights: generic button backlight implementation
exynos4210: liblights: big cleanup
David Daynard [Sun, 25 Aug 2013 13:26:49 +0000 (09:26 -0400)]
vibrator intensity: disable tunable framework if not supported
Change-Id: I6481b82b7ee5412234d42e39f7f5560489f14af3
Daniel Hillenbrand [Fri, 23 Aug 2013 20:12:45 +0000 (22:12 +0200)]
exynos4x12: liblights: generic button backlight implementation
http://review.cyanogenmod.org/#/c/48922/
Change-Id: I929fcb4f1c2a912e026328cb09f9be527adbaea9
Daniel Hillenbrand [Fri, 23 Aug 2013 20:08:04 +0000 (22:08 +0200)]
exynos4210: liblights: big cleanup
http://review.cyanogenmod.org/#/c/48922/
Change-Id: I5fa9602649c5d0e902dfc9ba9e50e8197d0dfb76
Daniel Hillenbrand [Thu, 22 Aug 2013 05:00:02 +0000 (05:00 +0000)]
Merge "samsung: hardware: add support for adaptive backlight" into cm-10.2