Contrast fixes, pvr governor enable
mm: writeback: Set the writeback daemon to screen off state Each 1500ms the writeback daemon flushes the writeback pages into disk which causes decreasments in performance and also battery. As Powertop suggests a value of 1500ms we set this to 1500ms but with this patch it only happens when the screen is off. So the daemon can flush the all the dirty pages without taking performance from the user. After the device wakes up and screen goes back on the writeback will be disabled.

Signed-off-by: artas182x <artas182x@gmail.com>
OMAPDSS: DISPC: Pipe threshold sizes power optimization.

This patch changes the calculation of thresholds and sets low
threshold to half of buffer size for OMAP4. The memory will
able to sleep between transactions to dss because dss will
read by big chunks.

boype: Also removed dispc_calculate_threshold function, as it is no longer used.

Backport from TI omapzoom kernel 3.4 repo, based upon:
http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=cd99eb345e1ad26ffbc665f46ea917dad762937b

Signed-off-by: artas182x <artas182x@gmail.com>
OMAPDSS: Added DSS OPPs and scale DSS OPP according to pixel clock rate

Signed-off-by: artas182x <artas182x@gmail.com>
ext4: Speed up FITRIM by recording flags in ext4_group_info

In ext4, when FITRIM is called every time, we iterate all the
groups and do trim one by one. It is a bit time wasting if the
group has been trimmed and there is no change since the last
trim.

So this patch adds a new flag in ext4_group_info->bb_state to
indicate that the group has been trimmed, and it will be cleared
if some blocks is freed(in release_blocks_on_commit). Another
trim_minlen is added in ext4_sb_info to record the last minlen
we use to trim the volume, so that if the caller provide a small
one, we will go on the trim regardless of the bb_state.

A simple test with my intel x25m ssd:
df -h shows:
/dev/sdb1              40G   21G   17G  56% /mnt/ext4
Block size:               4096

run the FITRIM with the following parameter:
range.start = 0;
range.len = UINT64_MAX;
range.minlen = 1048576;

without the patch:
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m5.505s
user	0m0.000s
sys	0m1.224s
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m5.359s
user	0m0.000s
sys	0m1.178s
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m5.228s
user	0m0.000s
sys	0m1.151s

with the patch:
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m5.625s
user	0m0.000s
sys	0m1.269s
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m0.002s
user	0m0.000s
sys	0m0.001s
[root@boyu-tm linux-2.6]# time ./ftrim /mnt/ext4/a
real	0m0.002s
user	0m0.000s
sys	0m0.001s

A big improvement for the 2nd and 3rd run.

Even after I delete some big image files, it is still much
faster than iterating the whole disk.

[root@boyu-tm test]# time ./ftrim /mnt/ext4/a
real	0m1.217s
user	0m0.000s
sys	0m0.196s

Cc: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Andreas Dilger <adilger.kernel@dilger.ca>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

Conflicts:
	fs/ext4/mballoc.c
Signed-off-by: artas182x <artas182x@gmail.com>
ARM: implement optimized percpu variable access

Signed-off-by: artas182x <artas182x@gmail.com>
OPP: Optimize DSS OPPs

Signed-off-by: artas182x <artas182x@gmail.com>
OMAP4: Fix prefetch definition - was breaking runtime

Signed-off-by: artas182x <artas182x@gmail.com>
Add UKSM 0.1.2

Conflicts:
	arch/arm/configs/KT747_d2att_defconfig
	arch/arm/configs/KT747_d2spr_defconfig
	arch/arm/configs/KT747_d2usc_defconfig
	arch/arm/configs/KT747_d2vzw_defconfig

Signed-off-by: artas182x <artas182x@gmail.com>
UKSM: Upgrade to 0.1.2.2

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.89

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.90

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.91

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.92

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.93

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.94

Signed-off-by: artas182x <artas182x@gmail.com>
ARM: cache-l2x0: fix merge error from v3.0.92

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.95

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.96

Signed-off-by: artas182x <artas182x@gmail.com>
Linux 3.0.97

Signed-off-by: artas182x <artas182x@gmail.com>