GitHub/LineageOS/android_hardware_samsung.git
11 years agogralloc: Allow any process to have multiple buffer handles
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

11 years agomacloader: add f0:27:65 as a murata mac
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

11 years agoadd exynos tablet flag
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

11 years agoAllow herring to build s5pc110
Joel Teichroeb [Mon, 9 Sep 2013 21:06:40 +0000 (14:06 -0700)]
Allow herring to build s5pc110

Change-Id: I1dcd00b650c7f1cf3faa8905e0161e70fa3e57f1

11 years agolibril: handle samsungs unsol responses
Daniel Hillenbrand [Wed, 4 Sep 2013 21:46:58 +0000 (23:46 +0200)]
libril: handle samsungs unsol responses

Change-Id: Ia42d9999ba0df93019a8864202f093163f8c3f41

11 years agoAdd Red/Blue LED notification support
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

11 years agoMerge changes I929fcb4f,I5fa96026 into cm-10.2
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

11 years agovibrator intensity: disable tunable framework if not supported
David Daynard [Sun, 25 Aug 2013 13:26:49 +0000 (09:26 -0400)]
vibrator intensity: disable tunable framework if not supported

Change-Id: I6481b82b7ee5412234d42e39f7f5560489f14af3

11 years agoexynos4x12: liblights: generic button backlight implementation
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

11 years agoexynos4210: liblights: big cleanup
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

11 years agoMerge "samsung: hardware: add support for adaptive backlight" into cm-10.2
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

11 years agosamsung: hardware: add support for adaptive backlight
Daniel Hillenbrand [Wed, 21 Aug 2013 19:25:54 +0000 (21:25 +0200)]
samsung: hardware: add support for adaptive backlight

Change-Id: I59b798e9cac2cf2c6efbe31736d3361f05c81398

11 years agoliblights: exynos4210: fix button off value
Daniel Hillenbrand [Wed, 21 Aug 2013 18:49:48 +0000 (20:49 +0200)]
liblights: exynos4210: fix button off value

since we're writing to the command interface the correct values are:

1 - on
2 - off

Change-Id: I4e61b0eedd1dcfba32319b26cd9e29202f66fcaa

11 years agomacloader: Add one more MAC prefix to murata
XpLoDWilD [Sun, 18 Aug 2013 18:55:38 +0000 (20:55 +0200)]
macloader: Add one more MAC prefix to murata

Change-Id: Ib00ca46608a834a6a5f1e2fe996d56ec98d1ffab

11 years agoremove hw class flag
Daniel Hillenbrand [Sat, 10 Aug 2013 17:01:30 +0000 (19:01 +0200)]
remove hw class flag

Change-Id: I8b368267efa2370eeae2c57371a7517c45856c44

11 years agoMerge "xmm6262: Use xmm6262 libril for xmm6360 modem as well" into cm-10.2
Daniel Hillenbrand [Sat, 10 Aug 2013 14:32:04 +0000 (14:32 +0000)]
Merge "xmm6262: Use xmm6262 libril for xmm6360 modem as well" into cm-10.2

11 years agoxmm6262: Use xmm6262 libril for xmm6360 modem as well
Ethan Chen [Mon, 5 Aug 2013 04:53:29 +0000 (21:53 -0700)]
xmm6262: Use xmm6262 libril for xmm6360 modem as well

* They appear to expose a very similar interface

Change-Id: I6793da25244258adb905e002d05bb60061487c5e

11 years agoSamsung: Add common class for vibrator
Shareef Ali [Fri, 9 Aug 2013 16:34:33 +0000 (11:34 -0500)]
Samsung: Add common class for vibrator

Change-Id: I0802cc122b606b08f58731febd8bf050d22f4c57

11 years agoxmm6262: Update using 4.3 libril.cpp
Ethan Chen [Mon, 5 Aug 2013 05:49:56 +0000 (22:49 -0700)]
xmm6262: Update using 4.3 libril.cpp

Change-Id: Ib884b46448b633b862cadb0f067e3180531858ae

11 years agomacloader: add additional SEMCOSH mac addr
Ethan Chen [Wed, 31 Jul 2013 20:18:51 +0000 (13:18 -0700)]
macloader: add additional SEMCOSH mac addr

Change-Id: Ib0015cb828772b1723d596442df3f7e2e298c2a2

11 years agoMerge "xmm6262: Update to new RIL version" into cm-10.2
Daniel Hillenbrand [Sat, 27 Jul 2013 21:44:14 +0000 (21:44 +0000)]
Merge "xmm6262: Update to new RIL version" into cm-10.2

11 years agoxmm6262: Update to new RIL version
XpLoDWilD [Sat, 27 Jul 2013 19:12:19 +0000 (21:12 +0200)]
xmm6262: Update to new RIL version

Change-Id: I10b3d90861f5332e17ec19985efb83f8d10ae05c

11 years agosamsung: update libril for xmm6260
codeworkx [Sat, 27 Jul 2013 07:02:14 +0000 (09:02 +0200)]
samsung: update libril for xmm6260

Change-Id: Ib5e68bd53fdf5d3db29ce09a975198320337cc52

11 years agoexynos4: gralloc: Remove non-trivial initializers to fix build
XpLoDWilD [Fri, 26 Jul 2013 10:00:13 +0000 (12:00 +0200)]
exynos4: gralloc: Remove non-trivial initializers to fix build

Change-Id: Id21a3506132b2be1ff5a606858d1be2dd897338d

11 years agoNFC refactoring cm-10.1.3-RC1 cm-10.1.3-RC2
Qaweck [Mon, 22 Jul 2013 18:31:23 +0000 (20:31 +0200)]
NFC refactoring

Change-Id: Id239eae364b7e1eddc512acb3516be1c62a726d1

11 years agosamsung: ril: fix inclusion of secril-client
Daniel Hillenbrand [Thu, 11 Jul 2013 14:26:34 +0000 (16:26 +0200)]
samsung: ril: fix inclusion of secril-client

Change-Id: I1266a59d88811fe0b3188dc63b83bace40f54398

11 years agosamsung: Remove multiple inclusion of RIL
Steve Kondik [Tue, 9 Jul 2013 21:32:02 +0000 (14:32 -0700)]
samsung: Remove multiple inclusion of RIL

Change-Id: I2fee28ca533b9c0923d6bc9d736cf2f2284190e0

11 years agoMerge "samsung: move ril client out of exynos4" into cm-10.1
Daniel Hillenbrand [Tue, 9 Jul 2013 16:50:57 +0000 (09:50 -0700)]
Merge "samsung: move ril client out of exynos4" into cm-10.1

11 years agosamsung: libril: some code cleanup
Daniel Hillenbrand [Tue, 9 Jul 2013 16:47:06 +0000 (18:47 +0200)]
samsung: libril: some code cleanup

Change-Id: Ie79369fce7d6c8832c3256c402a485090c177e61

11 years agosamsung: libril: cleanup debugging code
Daniel Hillenbrand [Mon, 8 Jul 2013 23:49:17 +0000 (01:49 +0200)]
samsung: libril: cleanup debugging code

Change-Id: I1429a892071dbd55d8ffa41b304b1612261f4edc

11 years agosamsung: move ril client out of exynos4
Daniel Hillenbrand [Mon, 8 Jul 2013 15:11:45 +0000 (17:11 +0200)]
samsung: move ril client out of exynos4

Change-Id: I8aa0470652c060a531d2cc7f2d8c68d3c40f5f95

11 years agosamsung: add libril for xmm626x modems cm-10.1.0.1
Daniel Hillenbrand [Sun, 7 Jul 2013 08:06:59 +0000 (10:06 +0200)]
samsung: add libril for xmm626x modems

Change-Id: I3064271ac8d563f63b13278944639ab5a29ae87f

11 years agoExynos4x12: liblights: ifdef exynos4x12 tabs
sbrissen [Fri, 21 Jun 2013 13:06:37 +0000 (09:06 -0400)]
Exynos4x12: liblights: ifdef exynos4x12 tabs

Change-Id: I3461a6569bf7d3c65e72cc911282bb3ee8e52bc5

11 years agoexynos4: SecBuffer: add missing c++ ifdefs
Daniel Hillenbrand [Sat, 15 Jun 2013 09:14:35 +0000 (11:14 +0200)]
exynos4: SecBuffer: add missing c++ ifdefs

Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71

11 years agoexynos4412: update fimg4x
Daniel Hillenbrand [Fri, 14 Jun 2013 14:18:47 +0000 (16:18 +0200)]
exynos4412: update fimg4x

http://git.insignal.co.kr/insignal/origen_quad-jb_mr1.1/android/hardware/samsung_slsi/exynos4/log/?h=origen_quad-jb_mr1.1

Change-Id: Idbcc372285b168fa171e195eed43e20c27182fab

11 years agoFix macloader buffer overflow
Javier Ferrer [Mon, 20 May 2013 23:09:24 +0000 (01:09 +0200)]
Fix macloader buffer overflow

Fixes this log entries.

I/macloader( 1915): Writing murata to /data/.cid.info
D/macloader( 1915): Setting permissions on /data/.cid.info
F/libc    ( 1915): *** vsprintf buffer overflow detected ***
F/libc    ( 1915): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 1915 (macloader)

Change-Id: I1ccb257bada18030de76a2be40477172993ca2a0

11 years agoexynos4: hal: include: Exif.h: always keep two decimal places in macros
ghepeu [Fri, 10 May 2013 12:19:23 +0000 (14:19 +0200)]
exynos4: hal: include: Exif.h: always keep two decimal places in macros

The APEX macros always rounded to int, losing too much precision. Ensure
that we always keep at least two decimal digits.

The more precise F-number comes from the value recorded by the camera
closed source driver.

Added a new macro APEX_SHUTTER_TO_EXPOSURE(x) (credit to tryptophane).

Change-Id: Ief43c15c6517d8dc48d4d4bc9e93df9eb01e6b91

11 years agomacloader: add 5C:F8:A1 to murata cm-10.1.0 cm-10.1.0-RC1 cm-10.1.0-RC2 cm-10.1.0-RC3 cm-10.1.0-RC4 cm-10.1.0-RC5
Daniel Hillenbrand [Sun, 5 May 2013 10:41:55 +0000 (12:41 +0200)]
macloader: add 5C:F8:A1 to murata

Change-Id: Ic328f6265ce9e5b09b86843b5dea3f1594d09163

11 years agoexynos4210: lights: add missing brightness check cm-10.1-M2 cm-10.1-M3
codeworkx [Sat, 2 Mar 2013 18:23:50 +0000 (18:23 +0000)]
exynos4210: lights: add missing brightness check

Change-Id: I7d307fbfe7581bfa76e7f4f6ce50f759683bf9dc

11 years agoexynos4: Add open source libsecion.
angelsl [Mon, 18 Feb 2013 10:48:53 +0000 (18:48 +0800)]
exynos4: Add open source libsecion.

This libsecion is reverse engineered from the libsecion.so blob and then
written based on the Exynos 5 libion available in AOSP.

Change-Id: Ibe69047c78491e3c7f3173b18fcabdf327fcfbd0
Signed-off-by: angelsl <hidingfromhidden@gmail.com>
11 years agoexynos3: power: Tuning and cleanups
Steve Kondik [Sat, 9 Feb 2013 03:47:56 +0000 (21:47 -0600)]
exynos3: power: Tuning and cleanups

* Tune the governor for better power usage and interactivity
* Reset tuning parameters if governor changes
* Cleanup

Change-Id: Ibe60ece836a0e56ba58e109bbea26cbd54d75421

11 years agoexynos4: update media headers
codeworkx [Sun, 17 Feb 2013 15:05:49 +0000 (15:05 +0000)]
exynos4: update media headers

Change-Id: Ia6221554d290c46f11c68e276dda41c8ebe3a7ab

11 years agogralloc: Remove hacks cm-10.1-M1
Andrew Dodd [Sun, 13 Jan 2013 19:57:43 +0000 (14:57 -0500)]
gralloc: Remove hacks

Stock gralloc doesn't have these alignment hacks.  In fact
they currently do nothing and won't until we fix HWC.

Change-Id: I3427cf3fed84a023ba6ed69b0e0fe0b63ea00886

11 years agogralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic
Andrew Dodd [Tue, 18 Dec 2012 22:11:01 +0000 (17:11 -0500)]
gralloc: Add missing GRALLOC_USAGE_HW_FIMC1 logic

This caused the ION pointer to get clobbered with a UMP
pointer when FIMC1 memory was requested.

After a while, camera would be unable to allocate buffers
due to ION memory not being freed properly.

Change-Id: I1ba1d27da924a0bb81631548e83c7f3e5789f319

11 years agoinclude ril for exynos4210
R. Andrew Ohana [Mon, 17 Dec 2012 06:47:37 +0000 (22:47 -0800)]
include ril for exynos4210

Building libsecril-client from source works perfectly well
on the i815. It will probably work well with the gsm devices
as well.

Change-Id: I4f394555d82fb48a86ea52212d9fb56ca0e8acd3

11 years agomacloader: add new murata value
codeworkx [Thu, 13 Dec 2012 16:23:45 +0000 (17:23 +0100)]
macloader: add new murata value

Change-Id: I1bc1aa88ec58f406fcf46a7c118ef577d6b0fb78

11 years agoMerge "hwc: Pull in updates from exynos3 hwc" into mr1-staging mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 12:57:03 +0000 (04:57 -0800)]
Merge "hwc: Pull in updates from exynos3 hwc" into mr1-staging

11 years agohwc: Pull in updates from exynos3 hwc
Andrew Dodd [Mon, 3 Dec 2012 02:50:58 +0000 (21:50 -0500)]
hwc: Pull in updates from exynos3 hwc

Change-Id: I61e1556da3e2d1e9a8b9c22163f4f11982bda7dc

11 years agoMerge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging
Daniel Hillenbrand [Tue, 11 Dec 2012 06:41:07 +0000 (22:41 -0800)]
Merge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging

11 years agoexynos4: libhwcomposer: disable debugging
codeworkx [Sun, 9 Dec 2012 08:51:22 +0000 (09:51 +0100)]
exynos4: libhwcomposer: disable debugging

Change-Id: Iead8beee1c2c40b3c7ce1277c84dc180fb96ecb8

11 years agogralloc: Back out hacks now that Mali-derping is fixed
Andrew Dodd [Sat, 8 Dec 2012 17:27:01 +0000 (12:27 -0500)]
gralloc: Back out hacks now that Mali-derping is fixed

Two reverts squashed, due to Mali-derping being fixed
in frameworks/native:

Revert "gralloc: avoid using framebuffer"

This reverts commit 5125ccc5b6d9a4bf1256a4a57f6d5f7d0ebe26c9.

Revert "gralloc:  Send first 2 FB buffers to carveout and next to UMP"

This reverts commit d288deb284f205c6b0eae04b27377c902afaf24e.

Change-Id: I530dc255b7543e03d0e8277d3ad12ed11d6649ab

11 years agoexynos4: gralloc: fix fimc1/ion logic
codeworkx [Fri, 7 Dec 2012 19:51:05 +0000 (20:51 +0100)]
exynos4: gralloc: fix fimc1/ion logic

Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d

11 years agoexynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1
Andrew Dodd [Thu, 6 Dec 2012 06:12:38 +0000 (01:12 -0500)]
exynos4: gralloc: Do FIMC1 memory allocations from ION instead of FIMC1

Mobile's blobs behave this way, except they don't do the
4k alignment done by the FIMC1 allocs.

The 4k alignment should fix issues such as NHK World Live TV,
but fails to do so.

Change-Id: I1ee4cd13e23f9f2f6c6616ee9eed1096b571a82c

11 years agogralloc_priv: Remove unused yaddr member
Andrew Dodd [Thu, 6 Dec 2012 05:16:18 +0000 (00:16 -0500)]
gralloc_priv: Remove unused yaddr member

Mobile's blobs don't appear to have been compiled with this
present in their headers, and none of the Insignal sources
actually use this.

Change-Id: Ib8611f6da90ea78aa8eec451c76f56ddb32b45a4

11 years agogralloc: Let } rejoin its people
Andrew Dodd [Wed, 5 Dec 2012 05:47:48 +0000 (00:47 -0500)]
gralloc: Let } rejoin its people

This is the story of poor }.  It is a painful saga.

Samsung left } floating inside the galaxy of framebuffer_alloc,
unable to join its brethren on the planet of STANDARD_LINUX_SCREEN
when they were shifted out of the #ifdef dimension.

codeworkx brutally eliminated poor } from the galaxy, it was
nowhere to be seen.  codeworkx then took pity on the } and
placed it back on the planet of STANDARD_LINUX_SCREEN, but
placed it on a continent where it was all alone, unable to
ever see its mate {

Take pity on poor }, let it rejoin its people on the correct
continent of the planet STANDARD_LINUX_SCREEN, so they may
all shift out of the #ifdef dimension together.

Change-Id: I7a700b73ccd2c91f91d9af3704930759f46978c7

11 years agogralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video
codeworkx [Mon, 3 Dec 2012 21:21:46 +0000 (22:21 +0100)]
gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video

Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff

11 years agogralloc: avoid using framebuffer
codeworkx [Mon, 3 Dec 2012 20:22:06 +0000 (21:22 +0100)]
gralloc: avoid using framebuffer

Change-Id: I216b4b67f09729d00d337512ab17ff378f218a33

11 years agogralloc: do it the android way
codeworkx [Mon, 3 Dec 2012 17:15:06 +0000 (18:15 +0100)]
gralloc: do it the android way

Change-Id: I54d7cfcbf39a97a340cf5b807537c39584c0e50a

11 years agogralloc: hello }, welcome back at your new home
codeworkx [Mon, 3 Dec 2012 17:11:28 +0000 (18:11 +0100)]
gralloc: hello }, welcome back at your new home

Change-Id: I86f80b78325f37f2d46b0c3b08818ab1274242e9

11 years agogralloc: hello }, what are you doing there?
codeworkx [Mon, 3 Dec 2012 17:05:53 +0000 (18:05 +0100)]
gralloc: hello }, what are you doing there?

Change-Id: Idf59890cb41e97004039a71e4b32f3d263b89482

11 years agogralloc: Send first 2 FB buffers to carveout and next to UMP
Espen Fjellvær Olsen [Sun, 2 Dec 2012 20:05:31 +0000 (21:05 +0100)]
gralloc:  Send first 2 FB buffers to carveout and next to UMP

Taken from QCOM gralloc:

commit d80a52cbf961d737f6f3beef47b868a581b98591
Author: Saurabh Shah <saurshah@codeaurora.org>
Date:   Tue Oct 2 14:32:40 2012 -0700

gralloc:  Send first 2 FB buffers to carveout and next to IOMMU

Gralloc uses the GRALLOC_USAGE_HW_FB flag to allocate memory from carveout.
This is fine for primary framebuffer, but for external framebuffer we need IOMMU
heap buffers, since the ioctls for external work with those.

Ideally, the primary buffers also need to come from IOMMU heap, which is ongoing
work. This patch allocates the first 2 FB buffer requests (assuming they are for
    primary) from carveout and allocates all subsequent buffers from IOMMU heap.

Bug: 7124159
Change-Id: Ie53b2e1e7fcac136acd2d251f39cefe367fc7125
Signed-off-by: Iliyan Malchev <malchev@google.com>
11 years agoRevert "exynos4: gralloc: higher number of buffers for page flipping"
codeworkx [Mon, 3 Dec 2012 16:43:43 +0000 (17:43 +0100)]
Revert "exynos4: gralloc: higher number of buffers for page flipping"

This reverts commit 8b9deaf74eba92bac8725666c2f99e51412a5b6f.

11 years agolibhwcomposer: keep window 2 open
codeworkx [Sun, 2 Dec 2012 18:39:25 +0000 (19:39 +0100)]
libhwcomposer: keep window 2 open

Window 2 is used to query global info about the LCD.

Kanged from patch for aries by Greg Hackmann <ghackmann@google.com>

Change-Id: Idf754d4536337d6c06652c1d0c744dc7c0936b15

11 years agoexynos4: gralloc: higher number of buffers for page flipping
codeworkx [Sat, 1 Dec 2012 22:54:58 +0000 (23:54 +0100)]
exynos4: gralloc: higher number of buffers for page flipping

11 years agoexynos4: hwcomposer: add uevent vsync handling
codeworkx [Sat, 1 Dec 2012 18:37:39 +0000 (19:37 +0100)]
exynos4: hwcomposer: add uevent vsync handling

11 years agoexynos4: libhwcomposer: update for new api version
espenfjo [Sat, 1 Dec 2012 17:52:36 +0000 (18:52 +0100)]
exynos4: libhwcomposer: update for new api version

11 years agoexynos4: update gralloc from insignal, modify it to work with libsecion
codeworkx [Sat, 1 Dec 2012 17:45:44 +0000 (18:45 +0100)]
exynos4: update gralloc from insignal, modify it to work with libsecion

11 years agoexynos4: add missing pixel format definitions
codeworkx [Tue, 27 Nov 2012 11:34:52 +0000 (12:34 +0100)]
exynos4: add missing pixel format definitions

Change-Id: I0386e8a9209d4f6633f67aa028c512e749c2c857

12 years agoMerge "s5pc110: hwcomposer: update to hwcomposer HAL v1 api" into mr1-staging
Daniel Hillenbrand [Fri, 23 Nov 2012 12:49:15 +0000 (04:49 -0800)]
Merge "s5pc110: hwcomposer: update to hwcomposer HAL v1 api" into mr1-staging

12 years agoexynos5: remove sources
Chirayu Desai [Fri, 16 Nov 2012 09:02:19 +0000 (14:32 +0530)]
exynos5: remove sources

- upstream has them at hardware/samsung_slsi

Change-Id: I6721098016ea7d760b553d533613ffc450eefd86

12 years agos5pc110: hwcomposer: update to hwcomposer HAL v1 api
Pawit Pornkitprasan [Fri, 23 Nov 2012 07:24:32 +0000 (14:24 +0700)]
s5pc110: hwcomposer: update to hwcomposer HAL v1 api

Change-Id: I2dc71cca002a1c36898831c54e2bea281ac98744

12 years agoexynos3: libhdmi: initial commit
Petr Havlena [Thu, 15 Nov 2012 08:37:10 +0000 (14:07 +0530)]
exynos3: libhdmi: initial commit

Change-Id: Iee23cf3b6e746c3a20adf7b90ab930a3cba50d5c

12 years agoexynos3: hwc: add hdmi support
Petr Havlena [Fri, 26 Oct 2012 12:22:00 +0000 (17:52 +0530)]
exynos3: hwc: add hdmi support

Change-Id: I9def46f17fc2b3042af776b253ac3441fd6d3405

12 years agoexynos3: fimc: fix
Petr Havlena [Thu, 15 Nov 2012 08:53:02 +0000 (14:23 +0530)]
exynos3: fimc: fix

- remove conflicting prototypes from s5p_fimc.h,
  libhdmi needs another version of fimc.

Change-Id: I22a6b016c7a9a701bf9b70d63db84b0c8258495b

12 years agoexynos4x12: add nfc package
codeworkx [Sun, 11 Nov 2012 10:38:03 +0000 (11:38 +0100)]
exynos4x12: add nfc package

Change-Id: Ife5522ad65d68d5ed0ca3a79a50ca86fedfb88e6

12 years agoexynos3: omx: moar love for p1 jellybean-stable
Chirayu Desai [Tue, 16 Oct 2012 10:20:18 +0000 (15:50 +0530)]
exynos3: omx: moar love for p1

- bump up mfc memsize
- use H/W decoding for TV-Out

Change-Id: I9425a371c29671e4ba9f82207f79d236ff6731e1

12 years agoexynos3: power HAL: add support for interactive governor
jt1134 [Sat, 20 Oct 2012 04:17:48 +0000 (23:17 -0500)]
exynos3: power HAL: add support for interactive governor

completely kanged from d2 power HAL

Change-Id: I4f6c32165251ae76c97afb715dde1fee9544430b

12 years agoMove macloader to hardware/samsung
R. Andrew Ohana [Thu, 4 Oct 2012 02:52:52 +0000 (19:52 -0700)]
Move macloader to hardware/samsung

There are quite a few different Samsung devices which require
macloader (many of which are just using binary blobs), so we
should move it out of the device trees.

Change-Id: I9e23fca0ba4c17da328cace801a92fa57df9a862

12 years agoPower HAL: Remove sampling rate change
Pawit Pornkitprasan [Sun, 30 Sep 2012 11:24:57 +0000 (18:24 +0700)]
Power HAL: Remove sampling rate change

Sampling rate change causes stutter while playing music.
Stutter appears randomly, but has a higher chance of appearing
when the screen goes from off to on.

Change-Id: I9b23212165203c7ff7ef65021be09fd366e55770

12 years agos5pc110: Add Power HAL (userspace CPU boosting)
Pawit Pornkitprasan [Tue, 25 Sep 2012 14:17:58 +0000 (21:17 +0700)]
s5pc110: Add Power HAL (userspace CPU boosting)

The majority of this commit is by Steve Kondik for the D2, modified
by Daniel Bateman and me.

Change-Id: Id6c1a1f0c6b39d5d20a765545526c07ad0fc64f6

12 years agoexynos3: Implement custom VSYNC IOCTL
Michael Brehm [Sat, 15 Sep 2012 07:03:39 +0000 (02:03 -0500)]
exynos3: Implement custom VSYNC IOCTL

* Replace crespo-based VSYNC uevent mechanism in hwcomposer
  with a custom IOCTL mechanism instead (required kernel
  modifications.

* The VSYNC uevents were spamming the Android UEventObserver
  and causing about 7% of constant CPU load

  c86856efabfa0b2981ceb47898dc5873a4998707

Improve custom VSYNC handler in hwcomposer

* only poll when necessary
* solves suspend/resume instability?

  45bf1dae7fa9057a3415151f7559e7bd2a162ead

Change-Id: Icdb5c60059e71688479d390b7b3a1f09a0315a5f

12 years agoexynos3: Add V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD to camera header
Pawit Pornkitprasan [Sat, 18 Aug 2012 15:02:03 +0000 (22:02 +0700)]
exynos3: Add V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD to camera header

Used by aries

Change-Id: I9cb4bb8c03a257468addb88ea18f7ff3473230ef

12 years agoexynos3: initial commit
Chirayu Desai [Thu, 12 Jul 2012 09:07:05 +0000 (14:37 +0530)]
exynos3: initial commit

Patch Set 2: removed unused files,
as audio, camera and sensors are device specific

Patch Set 3: aries OMX

Patch Set 5: liblight patch for epic

Patch Set 9: liblight(s) is device specific, rmed it from here.

Change-Id: I57a3d5714037836bab441ee5a3e772c260fb21d4

12 years agoexynos4: added secril-client and secril-client-sap sources
codeworkx [Fri, 3 Aug 2012 21:32:29 +0000 (23:32 +0200)]
exynos4: added secril-client and secril-client-sap sources

taken from i9100 update7 and i9300 update4

Change-Id: I1188c8c43c07ff179bc592a22345e4db9d8a56bf

12 years agolights: use a hardcoded value for led brightness
Daniel Hillenbrand [Thu, 2 Aug 2012 20:49:27 +0000 (22:49 +0200)]
lights: use a hardcoded value for led brightness

Change-Id: I2badc13aeb1871898ba001940ccabbb5ddfa53cb

12 years agofix libcamera and fimc conflict
Daniel Hillenbrand [Sun, 22 Jul 2012 15:32:42 +0000 (17:32 +0200)]
fix libcamera and fimc conflict

12 years agounderp logging
Daniel Hillenbrand [Sun, 22 Jul 2012 14:14:08 +0000 (16:14 +0200)]
underp logging

12 years agoexynos hal: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:45:33 +0000 (15:45 +0200)]
exynos hal: jellybean compat

12 years agoexynos4210 lights: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:34:24 +0000 (15:34 +0200)]
exynos4210 lights: jellybean compat

12 years agoexynos4x12 lights: jellybean compat
Daniel Hillenbrand [Sun, 22 Jul 2012 13:32:08 +0000 (15:32 +0200)]
exynos4x12 lights: jellybean compat

12 years agoexynos4x12: calibrate led colors, lights cleanup, disable debugging cm-9.1.0 ics ics-release
codeworkx [Sat, 7 Jul 2012 15:34:03 +0000 (17:34 +0200)]
exynos4x12: calibrate led colors, lights cleanup, disable debugging

blue and green leds are much stronger than the red one,
dim them down to get true colors (especially yellow).

Change-Id: I61c5f39e90e6392752a0e80a96e5e317427ea4a2

12 years agoexynos4210: moved libsensors to galaxys2 device tree
codeworkx [Wed, 11 Jul 2012 14:14:28 +0000 (16:14 +0200)]
exynos4210: moved libsensors to galaxys2 device tree

Change-Id: Ie479fbbf1a4d2fd879dc4fe63d97f9efac1ebfc0

12 years agosensors: Fix conversion values
Andrew Dodd [Wed, 11 Jul 2012 02:44:59 +0000 (22:44 -0400)]
sensors: Fix conversion values

Our kernel sets the gyro to 500 DPS and not 2000 DPS.
In addition, X and Y are swapped and Y is not inverted.

Also change the orientation sensor conversion factors to
match that found in aries-common since the orientation
sensor seemed overly sensitive.  However, the orientation
sensor might not actually do anything...  Android may
be performing sensor fusion of other data to determine
orientation.

Change-Id: I03df5d7bac9d58881e360546af4cf77878802807

12 years agoexynos4212 liblights: remove unused BUTTON_POWER define
Sam Mortimer [Mon, 2 Jul 2012 06:33:50 +0000 (23:33 -0700)]
exynos4212 liblights: remove unused BUTTON_POWER define

Change-Id: I1e911e234ed45924c263d85741f395ecf54414f1

12 years agoMerge "exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjust...
Daniel Hillenbrand [Mon, 9 Jul 2012 10:14:28 +0000 (14:14 +0400)]
Merge "exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts" into ics

12 years agoliblights: Fix reading of previous brightness value
XpLoDWilD [Sat, 7 Jul 2012 20:58:23 +0000 (22:58 +0200)]
liblights: Fix reading of previous brightness value

Change-Id: Ie175521033b3a8d96197794cff1a2dce89e516c3

12 years agoexynos4: added missing gralloc defines for hdmi
codeworkx [Tue, 3 Jul 2012 17:22:20 +0000 (19:22 +0200)]
exynos4: added missing gralloc defines for hdmi

Change-Id: Ie489452003c30e05f3fdf36a0643963ce4ae0c2e

12 years agoexynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts
Sam Mortimer [Mon, 2 Jul 2012 05:46:59 +0000 (22:46 -0700)]
exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts

clone of http://review.cyanogenmod.com/#/c/18372/

becomes relevant when these are applied:
smdk4210 kernel: cypress touchkey led_timeout functionality (1/2)
http://review.cyanogenmod.com/#/c/18357/
galaxys2/i777: configurable touchkey backlight timeout (2/2)
http://review.cyanogenmod.com/#/c/18431/

Change-Id: I3d4df6574cdd3c6317199a884ef7ac72cb4c71a3

12 years agofix for fix keypad lighting up when screen backlight auto-adjusts
codeworkx [Sun, 1 Jul 2012 14:15:52 +0000 (16:15 +0200)]
fix for fix keypad lighting up when screen backlight auto-adjusts

Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238

12 years agofix keypad lighting up when screen backlight auto-adjusts
Gary D [Thu, 28 Jun 2012 09:05:36 +0000 (05:05 -0400)]
fix keypad lighting up when screen backlight auto-adjusts

If the screen backlight was already lit and is just changing brightness,
don't blindly illuminate the keypad

Change-Id: If7473eb57aa4d48bc98a4bb42b9becc80764b1f8
Signed-off-by: Gary D <garyd9@gmail.com>