This improves the flexibility (not all devices have the same FFC
resolution) and also allows optimization of memory usage.
We currently allocate 4 MB to the hardware JPEG encoder, but only
1 MB is actually needed if it's only used for encoding VGA images.
Note that the thumbnail encoding function of the kernel driver is
not used.
This patch is backward compatible with older kernels, but patching
is recommended. Cherry-pick the following commits:
http://review.cyanogenmod.org/56791http://review.cyanogenmod.org/56792
Change-Id: I0e89b24e56b99e8e27f5a38d5c158b23021ed035
* Tune the governor for better power usage and interactivity
* Reset tuning parameters if governor changes
* Cleanup
Change-Id: Ibe60ece836a0e56ba58e109bbea26cbd54d75421
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
* 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
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