Commit graph

87 commits

Author SHA1 Message Date
Daniel Hillenbrand
2b8a73fc5c macloader: add 5C:F8:A1 to murata
Change-Id: Ic328f6265ce9e5b09b86843b5dea3f1594d09163
2013-05-05 12:41:55 +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
Steve Kondik
de4b10b242 exynos3: power: Tuning and cleanups
* Tune the governor for better power usage and interactivity
* Reset tuning parameters if governor changes
* Cleanup

Change-Id: Ibe60ece836a0e56ba58e109bbea26cbd54d75421
2013-02-19 01:56:09 -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
R. Andrew Ohana
1c3297ae96 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
2012-12-16 22:47:37 -08:00
codeworkx
84f8d1d325 macloader: add new murata value
Change-Id: I1bc1aa88ec58f406fcf46a7c118ef577d6b0fb78
2012-12-13 17:23:45 +01: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
Daniel Hillenbrand
1503aad378 Merge "s5pc110: hwcomposer: update to hwcomposer HAL v1 api" into mr1-staging 2012-11-23 04:49:15 -08:00
Chirayu Desai
2c81822525 exynos5: remove sources
- upstream has them at hardware/samsung_slsi

Change-Id: I6721098016ea7d760b553d533613ffc450eefd86
2012-11-23 16:58:24 +05:30
Pawit Pornkitprasan
b9ae8e0e0d s5pc110: hwcomposer: update to hwcomposer HAL v1 api
Change-Id: I2dc71cca002a1c36898831c54e2bea281ac98744
2012-11-23 17:05:01 +07:00
Petr Havlena
c9288149a3 exynos3: libhdmi: initial commit
Change-Id: Iee23cf3b6e746c3a20adf7b90ab930a3cba50d5c
2012-11-16 05:12:41 -08:00
Petr Havlena
1386f44a87 exynos3: hwc: add hdmi support
Change-Id: I9def46f17fc2b3042af776b253ac3441fd6d3405
2012-11-16 05:12:27 -08:00
Petr Havlena
41b00c3b14 exynos3: fimc: fix
- remove conflicting prototypes from s5p_fimc.h,
  libhdmi needs another version of fimc.

Change-Id: I22a6b016c7a9a701bf9b70d63db84b0c8258495b
2012-11-16 18:30:09 +05:30
codeworkx
5b604fa3f4 exynos4x12: add nfc package
Change-Id: Ife5522ad65d68d5ed0ca3a79a50ca86fedfb88e6
2012-11-11 11:42:35 +01:00
Chirayu Desai
79e21ef09b exynos3: omx: moar love for p1
- bump up mfc memsize
- use H/W decoding for TV-Out

Change-Id: I9425a371c29671e4ba9f82207f79d236ff6731e1
2012-10-27 17:46:28 +05:30
jt1134
88fda93e73 exynos3: power HAL: add support for interactive governor
completely kanged from d2 power HAL

Change-Id: I4f6c32165251ae76c97afb715dde1fee9544430b
2012-10-19 23:17:48 -05:00
R. Andrew Ohana
81c2e053c0 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
2012-10-04 09:57:03 -07:00
Pawit Pornkitprasan
76a153a66c 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
2012-09-30 18:24:57 +07:00
Pawit Pornkitprasan
5bff9aca16 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
2012-09-25 22:08:39 +07:00
Michael Brehm
3c938a7e18 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
2012-09-16 11:36:05 +05:30
Pawit Pornkitprasan
317dcfa0f0 exynos3: Add V4L2_CID_CAMERA_GPS_PROCESSINGMETHOD to camera header
Used by aries

Change-Id: I9cb4bb8c03a257468addb88ea18f7ff3473230ef
2012-08-18 22:05:00 +07:00
Chirayu Desai
0a336cc1f2 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
2012-08-18 14:52:44 +05:30
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