Commit graph

195 commits

Author SHA1 Message Date
codeworkx
0a4bdb5f50 gralloc: hello }, what are you doing there?
Change-Id: Idf59890cb41e97004039a71e4b32f3d263b89482
2012-12-03 18:05:53 +01:00
Espen Fjellvær Olsen
d288deb284 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>
2012-12-03 17:45:45 +01:00
codeworkx
4b20a95b20 Revert "exynos4: gralloc: higher number of buffers for page flipping"
This reverts commit 8b9deaf74e.
2012-12-03 17:43:43 +01:00
codeworkx
39aefd0fc4 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
2012-12-02 20:05:26 +01:00
codeworkx
8b9deaf74e exynos4: gralloc: higher number of buffers for page flipping 2012-12-01 23:54:58 +01:00
codeworkx
abfed77d46 exynos4: hwcomposer: add uevent vsync handling 2012-12-01 19:37:39 +01:00
espenfjo
34f9d5d692 exynos4: libhwcomposer: update for new api version 2012-12-01 18:52:36 +01:00
codeworkx
1030fe0ae8 exynos4: update gralloc from insignal, modify it to work with libsecion 2012-12-01 18:45:44 +01:00
codeworkx
d573d9b5a1 exynos4: add missing pixel format definitions
Change-Id: I0386e8a9209d4f6633f67aa028c512e749c2c857
2012-11-27 12:34:52 +01:00
codeworkx
5b604fa3f4 exynos4x12: add nfc package
Change-Id: Ife5522ad65d68d5ed0ca3a79a50ca86fedfb88e6
2012-11-11 11:42:35 +01:00
codeworkx
f1587a360f exynos4: added secril-client and secril-client-sap sources
taken from i9100 update7 and i9300 update4

Change-Id: I1188c8c43c07ff179bc592a22345e4db9d8a56bf
2012-08-03 23:32:29 +02:00
Daniel Hillenbrand
134c1fe2e2 lights: use a hardcoded value for led brightness
Change-Id: I2badc13aeb1871898ba001940ccabbb5ddfa53cb
2012-08-02 22:49:27 +02:00
Daniel Hillenbrand
1784ceccd6 fix libcamera and fimc conflict 2012-07-22 17:32:42 +02:00
Daniel Hillenbrand
353fecb128 underp logging 2012-07-22 16:14:08 +02:00
Daniel Hillenbrand
0fdadcaf08 exynos hal: jellybean compat 2012-07-22 15:45:33 +02:00
Daniel Hillenbrand
29deaa07a9 exynos4210 lights: jellybean compat 2012-07-22 15:34:24 +02:00
Daniel Hillenbrand
75ae0a2bc5 exynos4x12 lights: jellybean compat 2012-07-22 15:32:08 +02:00
codeworkx
313840440f 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
2012-07-11 17:13:26 +02:00
codeworkx
cb3fc72d35 exynos4210: moved libsensors to galaxys2 device tree
Change-Id: Ie479fbbf1a4d2fd879dc4fe63d97f9efac1ebfc0
2012-07-11 16:14:28 +02:00
Andrew Dodd
cbf1cb2a7f 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
2012-07-10 22:44:59 -04:00
Sam Mortimer
827f2f953c exynos4212 liblights: remove unused BUTTON_POWER define
Change-Id: I1e911e234ed45924c263d85741f395ecf54414f1
2012-07-09 14:14:51 +04:00
Daniel Hillenbrand
8ada6ea604 Merge "exynos4212 liblights: fix keypad lighting up when screen backlight auto-adjusts" into ics 2012-07-09 14:14:28 +04:00
XpLoDWilD
86d0895f82 liblights: Fix reading of previous brightness value
Change-Id: Ie175521033b3a8d96197794cff1a2dce89e516c3
2012-07-07 23:02:29 +02:00
codeworkx
23280fc439 exynos4: added missing gralloc defines for hdmi
Change-Id: Ie489452003c30e05f3fdf36a0643963ce4ae0c2e
2012-07-03 19:22:20 +02:00
Sam Mortimer
4c88bee69d 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
2012-07-02 11:06:09 -07:00
codeworkx
b20c536751 fix for fix keypad lighting up when screen backlight auto-adjusts
Change-Id: I61e987b4fcae277ab4a1ec6585b25255a445b238
2012-07-01 16:18:20 +02:00
Gary D
679d203f63 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>
2012-06-28 05:05:36 -04:00
XpLoDWilD
f2d31f2429 liblights: Store LED battery status and restore it after a notification LED blinking
Change-Id: Ifd01e3dea28ecc0dac94f2ff44b94e81493ba2a4
2012-06-26 13:23:55 +02:00
codeworkx
48421e2da2 lights: lower battery led brightness
Change-Id: I9cd680a760f81d0b131dc3e9d37e5f8f19171c00
2012-06-24 19:21:40 +02:00
codeworkx
3c04c0d0a8 exynos4x12: lower brightness on battery light
Change-Id: Ic3cd8f9bac985e09d7f7df0521cbaadfc9640f11
2012-06-22 17:13:18 +02:00
codeworkx
61bb8c4def smdk4x12: lights: battery led support
Change-Id: Ida4e7bd998251ec07a9874f695d1fef9f97a1b0c
2012-06-21 05:47:12 +02:00
XpLoDWilD
64dd846ab4 Fix blue light sticking and fixed delays
Change-Id: I1a9a92eaaf09f6a5524e0d08b4fdefa2b7ba000d
2012-06-14 19:55:39 +02:00
codeworkx
beeef87d0b exynos4x12: add lights module
Change-Id: Ib37f0b7cc94a5b9607817e3b3bee4814074517a4
2012-06-12 18:48:02 +02:00
codeworkx
952954aafa exynos4: hdmi: fix invalid conversion from void* to unsigned int
Change-Id: Ib81076f7f85719cd7bc318d45a0b176211b0ee89
2012-06-08 11:01:47 +02:00
sbrissen
5e44bae467 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
2012-05-25 09:51:10 -04:00
codeworkx
9eb3416030 liblights: adjust file location for smdk4210 kernel
Change-Id: Ib66a360729d25619b4270f081659b18e18437be3
2012-05-23 20:22:25 +02:00
codeworkx
62f02ba4f4 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
2012-05-20 12:00:36 +02:00
Phil Tunstall
e54debb12e liblights: Fix touch key lights coming on when screen brightness is adjusted
Only tested on GT-I9100

Change-Id: I2be3c5ce74799bea310a65bc75dd90985b9d17d6
2012-05-19 12:48:50 +01:00
athurh
7bfa58c376 OMX: Improve H264 encode quality
Change-Id: I874d393e9f1f357b3125cad4a04526aa7336c6ca
2012-05-06 05:18:28 +02:00
Espen Fjellvær Olsen
8537e27d60 Update AkmSensor to manually set poll interval
Change-Id: I84fc5c3fc1cb552874129512ea6dfc19b1f9a60a
2012-04-19 10:05:35 +02:00
R. Andrew Ohana
ec03b1b0c8 added tablet support to liblights
Change-Id: I778167e6fc10a8162a20771b9b4953af28fc1a97
2012-04-01 00:30:55 -07:00
Espen Fjellvær Olsen
9a5f75abbf Remove in_output_mode missing from the kernel part. Thanks to Zlodo from XDA
Change-Id: I07106e2af67a1565827bd71954868b7132473a5d
2012-03-29 22:02:35 +02:00
codeworkx
47c6ea9905 libump: include fixes
Change-Id: Ib1a815d443c9efa9ef25579a470b6df1fdf023b2
2012-03-24 19:21:30 +01:00
codeworkx
bb7076f6ea removed unneeded filters on makefiles 2012-03-24 17:55:51 +01:00
codeworkx
f1be2fe3cd initial commit, taken and modified from linaro/insignal 2012-03-24 17:38:29 +01:00