Commit graph

173 commits

Author SHA1 Message Date
Javi Ferrer
07950da91b Update s3cfb constants
Change-Id: I7e24e65e708b425d92ffbd3cc20cb4cf4703cf5d
2019-02-06 16:12:22 +03:00
Javi Ferrer
4f1fe71d4b Switch FIMC1 and ION
hardware/samsung/exynos4/hal/libcamera/SecCameraHWInterface.cpp  left intentionally as is, since I think it has the proper meaning

	#ifdef USE_EGL
	#ifdef BOARD_USE_V4L2_ION
	    if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN | GRALLOC_USAGE_HW_ION)) {
	#else
	    if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN)) {
	#endif
	        ALOGE("%s: could not set usage on gralloc buffer", __func__);
	        return INVALID_OPERATION;
	    }
	#else
	#ifdef BOARD_USE_V4L2_ION
	    if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN
	        | GRALLOC_USAGE_HWC_HWOVERLAY | GRALLOC_USAGE_HW_ION)) {
	#else
	    if (w->set_usage(w, GRALLOC_USAGE_SW_WRITE_OFTEN
	        | GRALLOC_USAGE_HW_FIMC1 | GRALLOC_USAGE_HWC_HWOVERLAY)) {
	#endif
	        ALOGE("%s: could not set usage on gralloc buffer", __func__);
	        return INVALID_OPERATION;
	    }
	#endif

Change-Id: Ieca2c717314bda5ca94a013df3cf8e23d68f74f8
2019-02-06 16:12:22 +03:00
Javi Ferrer
b59b75cde2 gralloc: move logic to add extra flags
Change-Id: Iffd52718841fa0ae03eadc94482a94cdd4989668
2019-02-06 16:12:22 +03:00
Javi Ferrer
025b44c305 gralloc: fixes for N7100 kernel rebase
gralloc_alloc_buffer()
gralloc_lock()
gralloc_unlock()

Change-Id: Ib935c94f1d216b6a57b300f5afb1c44724d2b05b
2019-02-06 16:12:22 +03:00
Javi Ferrer
1ea41aa4b3 gralloc: fix find_last_rect()
Change-Id: I4850a0a848c0c859be1e0b3b0ff8e280ba63af0b
2019-02-06 16:12:22 +03:00
Javi Ferrer
2624dc13ae gralloc: Use ION instead of FIMC
Made also changes to match XXUUMK6.

Needs https://gerrit.nameless-rom.org/#/c/12177/ for video playback and possibly https://gerrit.nameless-rom.org/#/c/12178/

Change-Id: I4a8fa5ee28d83c4bac822e4f8769ebce593b33cc
2019-02-06 16:12:22 +03:00
Dominggoes Isakh
4a405a462b Revert "hwcomposer: (WIP) Implement HWC 1.1"
This reverts commit d93aed8e16fc8b500ac5cd49f4813e26b962c1ab.
2018-12-23 05:48:58 +03:00
Dominggoes Isakh
aca172100c hwcomposer: (WIP) Implement HWC 1.1 2018-12-23 05:48:58 +03:00
Shilin Victor
e2733b095b Revert "HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup"
This reverts commit 46996ee4d4.

Change-Id: I12bd4e3c4f9d898424fa2ee5f11cd4de561b6885
2018-11-22 11:35:24 +03:00
Shilin Victor
d2ec13c4b2 Revert "exynos4: android.hardware.graphics.allocator@2.0 for Exynos4"
This reverts commit 3134d2eea5bc6b2a29de2faec067aea5e5d0a44e.

Change-Id: I2f80b912bbecfd2b72e668c2db0701c3e7008aa1
2018-11-22 11:34:15 +03:00
Shilin Victor
23331bcc02 libhwjpeg: fix build
Change-Id: I86b47caf8ca498b943ffea6556816c5ac75c137f
2018-11-22 11:34:15 +03:00
Dominggoes Isakh
b31f428d60 Resolve compiler errors
* remove all unused variables
* remove all unused functions
* build with -no-error

Change-Id: I8cdf30b9e650b4905c6c122122cd3630bf153275
2018-08-14 22:26:31 +02:00
Dominggoes Isakh
46996ee4d4 HardwareConverter: Temporary remove OMX_SEC-formats for Pie bringup
Change-Id: Ie9e665d7fc5b1124ecb662cfb4fcedc18d22021b
2018-08-13 19:49:53 +02:00
Dominggoes Isakh
58db5d59b0 exynos4: android.hardware.graphics.mapper@2.0 for Exynos4
Change-Id: Ic3156237063e72b3a3745491685d3e5cbedd908d
2018-08-12 22:05:06 +02:00
Dominggoes Isakh
d50cd57a75 libgralloc: Move to vendor
Change-Id: I2db8ee6330ee2fa41f725e3004cca321b3b176b6
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
7a739e098a libhwcomposer: Move to vendor
Change-Id: Ib4cc446beaec71134061a97353dcd5b13dcc5901
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
94482bf33b exynos4: android.hardware.graphics.allocator@2.0 for Exynos4
* Buffer got corrupt because of the mNumFlexPlanes member.
  Use fixed value of 4 instead and exclude the member.
* Usage bits were not filtered properly

Change-Id: I7ee9fa73f896c505403447ae118a76d9f53e00a8
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
08c95948f7 exynos4: Fix GRALLOC_USAGE_YUV_ADDR for hardware decoders
Change-Id: I07206502e9dcdd731ce19eaf1e14ac519afab01e
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
763999dd87 exynos: Temporary remove getphys
Change-Id: Ia64dae7e838b32cfb1ed0c45b3c88d961e21e5d5
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
4ff5df4584 exynos4: gralloc: Add support gralloc1-adapter
Change-Id: I6df76e2c0b7d5fad0316ddb2305a7fc8142d6d89
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
9b21248cd4 Use TARGET_NEEDS_EXYNOS4_ENHANCEMENTS
Change-Id: I3072e938eeff0d1ada0760f77c71782366da1e57
2018-08-08 06:26:10 +02:00
Dominggoes Isakh
09604e974d Fix compiler errors
Change-Id: Ic0193e81edae8ee46c53865133ce42fda9f69d5d
2018-08-08 06:26:10 +02:00
Simon Shields
fc68d3abb8 exynos4x12: use common samsung liblights
Change-Id: I5615413d5427177af0d161cfac24e98e18bf017b
2017-02-06 03:02:48 +00:00
Simon Shields
28bf1cc919 exynos4: allow using SLSI stack
Change-Id: I6201fb7b513f0b0d771460be133a7f32691b5070
2017-01-10 13:25:38 +00:00
Dominggoes Isakh
cb48f297ff exynos4: Fix libfimc build
* Expected return type is an address, not a boolean.

Change-Id: I454c23b66388fe06fc6d630b7b510ae85bd94c4a
2016-12-18 13:06:03 -08:00
Simon Shields
fe32c93da2 exynos4: hwc: GLES/gl.h is needed regardless of HWC_HWOVERLAY
Change-Id: I83108ba3d2442fbc0a252bd98c988235bafe7dc8
2016-11-20 21:37:16 -08:00
Arnab Chaudhuri
a958e7e7ac liblights: Add BLN support
Change-Id: I859416c484777fcf08b5bf8f72ba9f9838e4c1b3
2016-05-09 21:50:55 +05:30
Simon Shields
05326f499d exynos4: gralloc: we have an ALIGN macro, use it
Change-Id: I1ef089b004d1d1e3f2ae525638954536ca881c7a
2016-04-15 10:10:36 -07:00
deadman96385
a6d5bd701d Move Advanced Display so exynos5/7 can use it
Change-Id: Idc255301f30cff6b41d04db6f14fa421ee9eddb5
2016-03-22 19:24:20 +01:00
Javi Ferrer
cc48856905 exynos4: squash opensource libUMP
commit f40eeecbe44ee3ca5f4406e8881f6ffe1507d87c
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Sun Dec 14 16:41:30 2014 +0530

    exynos4: libUMP: fix headers for newer mali driver

    Change-Id: Ia81fa1949d04d809b4c5045269a70d7bab758f4a

commit 8c3792c590c0591647ab5ab59ff74d11e5f8afdd
Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Sun Dec 14 16:38:51 2014 +0530

    exynos4: libUMP: use relative include paths

    Change-Id: If46c68512d0404df0d46734531a6160eb18b7ce5

commit feb6f2c45d4f87655a2f391114946933a128e60c
Author: Javi Ferrer <javi.f.o@gmail.com>
Date:   Fri Nov 21 04:05:51 2014 +0530

    exynos4: open source libUMP

    - Deleted unneeded include ion.h
    - Correct libsecion build
    - Correct gralloc build and bring back ump_ref_drv_ion_import

Change-Id: I1da602ec77d78e5056ea0c37f328c6c1b0e60e00
2016-03-21 11:09:30 -07:00
Simon Shields
9b5063f0ed exynos4: commonize AdvancedDisplay [1/3]
* show in settings
* drop support lib
* drop unnecessary viewpager/tab bar
* drop unused strings/resources

Change-Id: I90c62d7b106ad744ae698044f6f17a759fcbf8a3
2016-03-21 22:45:04 +11:00
Caio Schnepper
e48f7860b9 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
2015-11-30 11:05:10 -02:00
rogersb11
dbf394e847 samsung: Compilation fixes
* Add missing headers
* Cast values to correct types

Change-Id: Iaf621c562e884daeb22f6ec700d6989ba6ba1aef
2015-11-09 14:07:55 -08:00
Caio Schnepper
2f04f84366 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
2015-10-19 21:13:45 -02:00
Caio Schnepper
d126ce64b4 libgralloc_ump: Fix build
Included legacy <pixelflinger/format.h> to continue
using "GGL_PIXEL_FORMAT_L_8" pixel format

Change-Id: If08f90333bbcd9857f0dbcb462aaf6e8ad4d689f
2015-10-19 14:36:14 -02:00
Caio Schnepper
dd9ce7d335 libfimg3x: Remove android_pmem.h include
Change-Id: I514e96676578a97b9481643e58a0e49a8d017678
2015-04-27 13:55:08 -03:00
Ricardo Cerqueira
518d1720da lights: Clean up light priorities and dedupe code
Attention > Notification > Battery

Change-Id: Ie3d17aced31673b281d718b76973d5774707a21d
2015-01-03 19:30:06 +01:00
Howard Su
a42023004b libcamera: fix camera.
Change-Id: I8992ec58b0254c73075e5e1a7b08227958179c0e
2014-11-28 07:51:44 +00:00
sbrissen
99008c2002 Exynos4: Fix build
Change-Id: Idb327b37156e2014a34a8831ce6d60769e3217af
2014-11-19 08:28:43 -05:00
Ricardo Cerqueira
bf4502e660 Exclude generic camera implementation if TARGET_PROVIDES_CAMERA_HAL
Change-Id: I91066dfa3d271aa7f909fc8751adb74b622173d2
2014-05-20 10:09:52 +01:00
Flamefire
5d0cdb761c 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
2014-01-28 17:21:20 +01:00
Ketut Putu Kumajaya
e1b1ffd5fc 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
2014-01-15 15:30:32 -05:00
Ricardo Cerqueira
0ae0edd95a gralloc: Attribute buffer ownership to last caller
Switch buffer management from creator to latest registrant

Change-Id: If6b1ab1a553f701e4a1038c089f2b2ecb02c2e8b
2014-01-02 16:01:26 +00:00
Ricardo Cerqueira
73ef2c14bf Revert "gralloc: Allow unmapping concurrent handles"
This reverts commit a3a9aaa5bb.
2014-01-02 16:01:22 +00:00
herna
598179bcb2 Fixed Light Exynos 4 sensor not working
Change-Id: I0a59d8ca08e210d879350df42e75acd4365326a3
2013-11-15 20:29:24 +04:00
sbrissen
52466f81e2 Exynos: fix gralloc build
Change-Id: Iae8c7cf947aacb6ec5c952a10a14b9d41c397ed2
2013-11-06 13:28:15 -05:00
Ricardo Cerqueira
a3a9aaa5bb gralloc: Allow unmapping concurrent handles
If we allow registering those buffers, we need to let them go, too

Change-Id: I6c2dc862e1e783e2b0d3c7d37d60ebe2290173fa
2013-10-27 19:51:25 +00:00
Ricardo Cerqueira
946eb02095 gralloc: Allow any process to have multiple buffer handles
Change-Id: I670ff7e03b19c07094b506a4422f99c30f06db0e
2013-10-25 23:38:52 +01:00
Humberto Borba
cce0d5b49e add exynos tablet flag
Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: Id2a5ce769af9b87d7fbdb415ff7869f593601dc3
2013-09-23 00:12:16 -03:00
sbrissen
898047abc2 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
2013-08-30 21:03:31 -07:00
Daniel Hillenbrand
0189eda6e8 exynos4x12: liblights: generic button backlight implementation
http://review.cyanogenmod.org/#/c/48922/

Change-Id: I929fcb4f1c2a912e026328cb09f9be527adbaea9
2013-08-23 22:12:45 +02:00
Daniel Hillenbrand
ebc06142fd exynos4210: liblights: big cleanup
http://review.cyanogenmod.org/#/c/48922/

Change-Id: I5fa9602649c5d0e902dfc9ba9e50e8197d0dfb76
2013-08-23 22:08:04 +02:00
Daniel Hillenbrand
f3bf842bd6 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
2013-08-21 20:49:48 +02:00
XpLoDWilD
81366768f2 exynos4: gralloc: Remove non-trivial initializers to fix build
Change-Id: Id21a3506132b2be1ff5a606858d1be2dd897338d
2013-07-26 12:00:13 +02:00
Qaweck
20dd0df8e3 NFC refactoring
Change-Id: Id239eae364b7e1eddc512acb3516be1c62a726d1
2013-07-22 20:31:23 +02:00
Daniel Hillenbrand
c0e536a0d0 samsung: move ril client out of exynos4
Change-Id: I8aa0470652c060a531d2cc7f2d8c68d3c40f5f95
2013-07-08 17:11:45 +02:00
sbrissen
6b226ad645 Exynos4x12: liblights: ifdef exynos4x12 tabs
Change-Id: I3461a6569bf7d3c65e72cc911282bb3ee8e52bc5
2013-06-21 09:08:25 -04:00
Daniel Hillenbrand
41e1d1a242 exynos4: SecBuffer: add missing c++ ifdefs
Change-Id: I6c07d14675e5c6f835401d2660f208db8e757a71
2013-06-15 11:14:35 +02:00
Daniel Hillenbrand
09e7e82747 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
2013-06-14 16:18:47 +02:00
ghepeu
cfaad78bbb 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
2013-05-10 14:27:52 +02:00
codeworkx
7800b3bc1b exynos4210: lights: add missing brightness check
Change-Id: I7d307fbfe7581bfa76e7f4f6ce50f759683bf9dc
2013-03-02 18:23:50 +00:00
angelsl
ee21f4bdd1 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>
2013-02-24 14:29:28 +08:00
codeworkx
79b8917c20 exynos4: update media headers
Change-Id: Ia6221554d290c46f11c68e276dda41c8ebe3a7ab
2013-02-17 15:24:50 +00:00
Andrew Dodd
a7d49af0a9 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
2013-01-15 20:09:06 -05:00
Andrew Dodd
f9f985d6ba 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
2012-12-18 17:13:24 -05:00
Daniel Hillenbrand
d052b701d2 Merge "hwc: Pull in updates from exynos3 hwc" into mr1-staging 2012-12-11 04:57:03 -08:00
Andrew Dodd
e6a23d7713 hwc: Pull in updates from exynos3 hwc
Change-Id: I61e1556da3e2d1e9a8b9c22163f4f11982bda7dc
2012-12-11 13:45:31 +01:00
Daniel Hillenbrand
04470b7fa8 Merge "gralloc: Back out hacks now that Mali-derping is fixed" into mr1-staging 2012-12-10 22:41:07 -08:00
codeworkx
6ab6c16999 exynos4: libhwcomposer: disable debugging
Change-Id: Iead8beee1c2c40b3c7ce1277c84dc180fb96ecb8
2012-12-09 09:51:22 +01:00
Andrew Dodd
19e59a77d9 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 5125ccc5b6.

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

This reverts commit d288deb284.

Change-Id: I530dc255b7543e03d0e8277d3ad12ed11d6649ab
2012-12-08 18:22:52 -05:00
codeworkx
6aab55a059 exynos4: gralloc: fix fimc1/ion logic
Change-Id: I0d125275e4d9ec3b6368572b9c0aa1033969c98d
2012-12-07 20:51:05 +01:00
Andrew Dodd
3e73708c2e 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
2012-12-07 17:21:00 +01:00
Andrew Dodd
2f662dd093 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
2012-12-06 01:41:45 -05:00
Andrew Dodd
3fc2ca9f38 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
2012-12-05 00:47:48 -05:00
codeworkx
1400c151aa gralloc: add HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED for video
Change-Id: I340b2bc065490797889aa17c5396cf40e0e7d6ff
2012-12-03 22:21:46 +01:00
codeworkx
5125ccc5b6 gralloc: avoid using framebuffer
Change-Id: I216b4b67f09729d00d337512ab17ff378f218a33
2012-12-03 21:22:06 +01:00
codeworkx
00b0625388 gralloc: do it the android way
Change-Id: I54d7cfcbf39a97a340cf5b807537c39584c0e50a
2012-12-03 18:15:06 +01:00
codeworkx
c5b109bede gralloc: hello }, welcome back at your new home
Change-Id: I86f80b78325f37f2d46b0c3b08818ab1274242e9
2012-12-03 18:11:28 +01:00
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