GitHub/LineageOS/android_hardware_samsung.git
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>
12 years agoliblights: Store LED battery status and restore it after a notification LED blinking
XpLoDWilD [Tue, 26 Jun 2012 11:23:55 +0000 (13:23 +0200)]
liblights: Store LED battery status and restore it after a notification LED blinking

Change-Id: Ifd01e3dea28ecc0dac94f2ff44b94e81493ba2a4

12 years agolights: lower battery led brightness
codeworkx [Sun, 24 Jun 2012 17:21:40 +0000 (19:21 +0200)]
lights: lower battery led brightness

Change-Id: I9cd680a760f81d0b131dc3e9d37e5f8f19171c00

12 years agoexynos4x12: lower brightness on battery light
codeworkx [Fri, 22 Jun 2012 15:13:18 +0000 (17:13 +0200)]
exynos4x12: lower brightness on battery light

Change-Id: Ic3cd8f9bac985e09d7f7df0521cbaadfc9640f11

12 years agosmdk4x12: lights: battery led support
codeworkx [Thu, 21 Jun 2012 03:40:51 +0000 (05:40 +0200)]
smdk4x12: lights: battery led support

Change-Id: Ida4e7bd998251ec07a9874f695d1fef9f97a1b0c

12 years agoMerge "omx: build shared instead of static libs for exynos4x12" into ics
codeworkx [Sat, 16 Jun 2012 13:00:32 +0000 (17:00 +0400)]
Merge "omx: build shared instead of static libs for exynos4x12" into ics

12 years agoFix blue light sticking and fixed delays
XpLoDWilD [Thu, 14 Jun 2012 17:48:19 +0000 (19:48 +0200)]
Fix blue light sticking and fixed delays

Change-Id: I1a9a92eaaf09f6a5524e0d08b4fdefa2b7ba000d

12 years agoexynos4x12: add lights module
codeworkx [Mon, 11 Jun 2012 15:47:21 +0000 (17:47 +0200)]
exynos4x12: add lights module

Change-Id: Ib37f0b7cc94a5b9607817e3b3bee4814074517a4

12 years agoomx: build shared instead of static libs for exynos4x12
codeworkx [Sun, 10 Jun 2012 14:38:12 +0000 (16:38 +0200)]
omx: build shared instead of static libs for exynos4x12

Change-Id: Idac85baf743ea26a5953538f8f931908c15ad754

12 years agoexynos4: hdmi: fix invalid conversion from void* to unsigned int
codeworkx [Fri, 8 Jun 2012 09:01:47 +0000 (11:01 +0200)]
exynos4: hdmi: fix invalid conversion from void* to unsigned int

Change-Id: Ib81076f7f85719cd7bc318d45a0b176211b0ee89

12 years agocodecs: build shared mfcapi lib on exynos4x12
codeworkx [Mon, 4 Jun 2012 23:54:17 +0000 (01:54 +0200)]
codecs: build shared mfcapi lib on exynos4x12

Change-Id: I8a09f8e6e86191197f0382e5c40e6acd16f33cda

12 years agocodecs: mfcapi compatibility patch for exynos4x12
codeworkx [Mon, 4 Jun 2012 23:39:35 +0000 (01:39 +0200)]
codecs: mfcapi compatibility patch for exynos4x12

Change-Id: I2fe0d481506d374e8fa6a71b56d4dddee3f132b1

12 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

12 years agoliblights: adjust file location for smdk4210 kernel
codeworkx [Wed, 23 May 2012 18:22:25 +0000 (20:22 +0200)]
liblights: adjust file location for smdk4210 kernel

Change-Id: Ib66a360729d25619b4270f081659b18e18437be3

12 years agoexynos: Improve H264 encode quality
athurh [Mon, 21 May 2012 19:55:40 +0000 (21:55 +0200)]
exynos: Improve H264 encode quality

Change-Id: I0c184daecffe644445c759deeeb8895f69c1755b

12 years agoAndroid.mk: only include directory for exynos devices
R. Andrew Ohana [Mon, 21 May 2012 08:47:01 +0000 (01:47 -0700)]
Android.mk: only include directory for exynos devices

we should play nice with other devices that have there own libraries with the same name

Change-Id: Icf208e38094e4317d3546578176ab149a4e4b5b9

12 years agoexynos: reorganized and updated from insignal
codeworkx [Sun, 20 May 2012 10:00:36 +0000 (12:00 +0200)]
exynos: reorganized and updated from insignal

Changes needed on exynos4210 devices:

libcsc -> libseccscapi
libswconverter -> remove

TARGET_HAL_PATH := hardware/samsung/exynos4/hal
TARGET_OMX_PATH := hardware/samsung/exynos/multimedia/openmax
$(call inherit-product, hardware/samsung/exynos4210.mk)

Change-Id: Ic59ef95b85ef37b3f38fb36cf6a364a5414685ee

12 years agoliblights: Fix touch key lights coming on when screen brightness is adjusted
Phil Tunstall [Thu, 17 May 2012 15:25:38 +0000 (16:25 +0100)]
liblights: Fix touch key lights coming on when screen brightness is adjusted

Only tested on GT-I9100

Change-Id: I2be3c5ce74799bea310a65bc75dd90985b9d17d6

12 years agoOMX: Improve H264 encode quality
athurh [Sun, 6 May 2012 03:18:28 +0000 (05:18 +0200)]
OMX: Improve H264 encode quality

Change-Id: I874d393e9f1f357b3125cad4a04526aa7336c6ca

12 years agoUpdate AkmSensor to manually set poll interval
Espen Fjellvær Olsen [Thu, 19 Apr 2012 08:05:35 +0000 (10:05 +0200)]
Update AkmSensor to manually set poll interval

Change-Id: I84fc5c3fc1cb552874129512ea6dfc19b1f9a60a

12 years agoadded tablet support to liblights
R. Andrew Ohana [Sun, 1 Apr 2012 07:30:55 +0000 (00:30 -0700)]
added tablet support to liblights

Change-Id: I778167e6fc10a8162a20771b9b4953af28fc1a97

12 years agoRemove in_output_mode missing from the kernel part. Thanks to Zlodo from XDA
Espen Fjellvær Olsen [Thu, 29 Mar 2012 20:02:35 +0000 (22:02 +0200)]
Remove in_output_mode missing from the kernel part. Thanks to Zlodo from XDA

Change-Id: I07106e2af67a1565827bd71954868b7132473a5d

12 years agolibump: include fixes
codeworkx [Sat, 24 Mar 2012 18:21:30 +0000 (19:21 +0100)]
libump: include fixes

Change-Id: Ib1a815d443c9efa9ef25579a470b6df1fdf023b2

12 years agoremoved unneeded filters on makefiles
codeworkx [Sat, 24 Mar 2012 16:55:51 +0000 (17:55 +0100)]
removed unneeded filters on makefiles

12 years agoinitial commit, taken and modified from linaro/insignal
codeworkx [Sat, 24 Mar 2012 16:38:29 +0000 (17:38 +0100)]
initial commit, taken and modified from linaro/insignal