Commit Graph

60860 Commits

Author SHA1 Message Date
zwl
e957da03a7 rk32-lcdc: improve the cabc function 2014-06-05 08:52:16 +08:00
qjb
127d33d136 dma soc audio : add support dma infiniteloop mode
soc audio rockchip default use infiniteloop mode
2014-06-04 18:17:08 +08:00
hcy
51d7acb84f fix system reboot stop at DDR_DEBUG information 2014-06-03 16:54:13 +08:00
hjc
af1283a6fd rk3288 lcdc: add support BCSH func 2014-05-27 16:15:47 +08:00
陈亮
cc1cd797fa 1.add rk_system_status.c, listen system status ,and prepare something for new status. 2.serialize ddrfreq, ensure that change ddrfreq is done before enter new status 2014-05-26 23:32:01 -07:00
Jan Kara
f51667e9c7 bdi: avoid oops on device removal
commit 5acda9d12d upstream.

After commit 839a8e8660 ("writeback: replace custom worker pool
implementation with unbound workqueue") when device is removed while we
are writing to it we crash in bdi_writeback_workfn() ->
set_worker_desc() because bdi->dev is NULL.

This can happen because even though bdi_unregister() cancels all pending
flushing work, nothing really prevents new ones from being queued from
balance_dirty_pages() or other places.

Fix the problem by clearing BDI_registered bit in bdi_unregister() and
checking it before scheduling of any flushing work.

Fixes: 839a8e8660

Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: Derek Basehore <dbasehore@chromium.org>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit bf0972039d)
2014-05-22 21:11:01 +08:00
张晴
77b2eae948 rk3288:pmic:ricoh619:slove pwrkey missed when wakeup;modify some fg error 2014-05-22 16:53:53 +08:00
黄涛
a554b12b59 ARM: rockchip: fix rk3288 tsadc_int pinctrl 2014-05-22 15:11:52 +08:00
zwl
b6f6268626 rk fb: modify fb align for improve gpu ddr utilization 2014-05-22 09:22:19 +08:00
gwl
924246cd82 WiFi&BT add io reference voltage control to reducing power consumption, default is disabled. 2014-05-20 17:24:15 +08:00
张晴
e1053d40cd rk3288:pmic:act8846:support act8846 device shutdown 2014-05-15 16:31:23 +08:00
yxj
7d857804a0 rk fb: alloc framebuffer from vmalloc when iommu enabled 2014-05-14 11:20:47 +08:00
CMY
2305db926f Revert "rk: ion: support cache ops for CMA heap"
This reverts commit 98ad00141c.

Conflicts:
	drivers/staging/android/ion/ion.c
	drivers/staging/android/ion/ion_cma_heap.c
	drivers/staging/android/ion/ion_priv.h
2014-05-14 10:40:01 +08:00
yxj
febb029be1 rk fb: copy logo data from bootloader when enable iommu 2014-05-14 09:18:09 +08:00
张晴
942b86cab9 rk3288:pmic:act8846:support pmic act8846 for new hardware 2014-05-12 17:48:17 +08:00
陈亮
9b652a83df ddrfreq: add dualview sence and isp sence 2014-05-09 00:03:15 -07:00
zwl
1fe724b4d3 rk fb: init default primary screen and hdmi post scale value that overscan value may use for hdmi 2014-05-09 10:36:51 +08:00
zwl
5009b35348 rk3288 lcdc: add support overscan 2014-05-09 09:20:50 +08:00
陈亮
aaccb426d6 ddrfreq: add video scene, performan scene 2014-05-08 06:11:54 -07:00
张晴
971b4afb18 rk3288:pmic:rk808:modify power off have lock;add protect for i2c error 2014-05-08 15:29:05 +08:00
yxj
99ceaf4398 rk fb:rk3288 lcdc: temporarily workround iommu unmaped the buffer when it being used 2014-05-08 09:10:16 +08:00
陈亮
0180727dca ddrfreq: add more auto freq point 2014-05-07 06:30:33 -07:00
黄涛
2ce503ed6b Revert "mm: make vmstat_update periodic run conditional"
This reverts commit 7d252cd22a.
Which can cause kernel panic when resume.
2014-05-07 09:14:43 +08:00
ddl
c76142ff64 camsys_drv: v0.7.0 camsys_head: v0.6.0 2014-05-06 16:11:52 +08:00
许盛飞
f575a0f312 RK818: add rk818-battery driver 2014-05-06 11:27:03 +08:00
xbw
36ae021903 SDMMC:
1、set the emmc-clock to 150Mhz which compatible with new PLL.
2. Optimization timing Training.
3. SD3.0/SDIO3.0 implementation process.
2014-05-05 10:10:32 +08:00
xxm
49d1d490ce rockchip:midgard : update gpu dvfs & use new comment 2014-05-04 14:36:19 +08:00
CMY
f52cfbfccb rk: ion: add version control
disable ion snapshot by default
		 fix build warn
2014-04-30 08:38:25 +08:00
张晴
de0f0d2cbc rk3288:ricoh619:add dc_det function,add ricoh619.txt 2014-04-29 11:15:29 +08:00
xxm
20eabb402c rockchip : midgard :1,place rk_get_real_fps in rk_fb.h 2,correct macro limit_fps 2014-04-29 10:48:29 +08:00
dkl
ad11a1286b clk: rockchip: add CLK_SET_RATE_PARENT_IN_ORDER
If the flag CLK_SET_RATE_PARENT_IN_ORDER is set, consider the
order of .set_parent and .set_rate, to prevent a too large
temporary rate on rate change. This will fix the bug of clk_gpu
in rk3288.
2014-04-28 21:24:24 +08:00
dkl
7348c1bed5 clk: rockchip: rk3288: adjust clock settings
1. add clkops_rate_3288_dclk_lcdc0/1
2. change gpll init_rate to 297M, and npll init_rate to 1250M
2014-04-28 21:24:24 +08:00
dkl
91019ca759 clk: rockchip: add clk_pll_ops_3188plus_auto 2014-04-28 21:24:24 +08:00
陈亮
d25572ffd7 rk3288: temperature control add performance mode and normal mode 2014-04-27 21:48:45 -07:00
黄涛
7fe47454f2 Merge tag 'lsk-android-14.04' into develop-3.10
lsk-android 14.04

Conflicts:
	Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
	drivers/pinctrl/pinconf-generic.c
	include/linux/pinctrl/consumer.h
	include/linux/pinctrl/pinconf-generic.h
2014-04-24 19:04:10 +08:00
黄涛
89259626f1 ARM: rockchip: add pm policy api 2014-04-24 11:35:42 +08:00
黄涛
a840a0c862 ARM: rockchip: rk3288: enable jtag support when rockchip_jtag in kernel cmdline 2014-04-22 15:17:58 +08:00
hjc
ee4ae20744 rk3288 lcdc: add support iommu 2014-04-18 11:19:38 +08:00
dkl
5a6a7c9fe3 clk: rockchip: add clkops_rate_3288_usb480m 2014-04-17 11:18:10 +08:00
张晴
a11b980027 rk3288:pmic:rk818:add rk818.h 2014-04-16 16:32:46 +08:00
hjc
8c7e2fc6ac rk fb: add support uboot display logo 2014-04-16 11:40:58 +08:00
Mark Brown
3736e39e6a Merge branch 'linaro-android-3.10-lsk' of git://git.linaro.org/people/john.stultz/android into linux-linaro-lsk-android 2014-04-15 18:12:51 +01:00
黄涛
0ffd56dafe Merge tag 'lsk-android-14.03' into develop-3.10
lsk 14.03 Android release
2014-04-15 12:51:10 +08:00
Alex Shi
dca382e80b Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2014-04-15 09:59:04 +08:00
Alex Shi
dc65fae3f7 Merge tag 'v3.10.37' into linux-linaro-lsk
This is the 3.10.37 stable release
2014-04-15 09:57:50 +08:00
John Stultz
c98e2fbb7e Merge branch 'upstream/android-3.10' into linaro-fixes/android-3.10 2014-04-14 12:00:59 -07:00
Mark Brown
dfbd3a7884 Merge branch 'linux-linaro-lsk' into linux-linaro-lsk-android 2014-04-14 18:56:49 +01:00
Mark Brown
5ad6d9ba81 Merge branches 'v3.10/topic/configs' and 'v3.10/topic/arm64-hugepages' of git://git.linaro.org/kernel/linux-linaro-stable into linux-linaro-lsk 2014-04-14 18:56:30 +01:00
Xiaoguang Chen
ba17ca46b9 cpufreq: Fix governor start/stop race condition
commit 95731ebb11 upstream.

Cpufreq governors' stop and start operations should be carried out
in sequence.  Otherwise, there will be unexpected behavior, like in
the example below.

Suppose there are 4 CPUs and policy->cpu=CPU0, CPU1/2/3 are linked
to CPU0.  The normal sequence is:

 1) Current governor is userspace.  An application tries to set the
    governor to ondemand.  It will call __cpufreq_set_policy() in
    which it will stop the userspace governor and then start the
    ondemand governor.

 2) Current governor is userspace.  The online of CPU3 runs on CPU0.
    It will call cpufreq_add_policy_cpu() in which it will first
    stop the userspace governor, and then start it again.

If the sequence of the above two cases interleaves, it becomes:

 1) Application stops userspace governor
 2)                                  Hotplug stops userspace governor

which is a problem, because the governor shouldn't be stopped twice
in a row.  What happens next is:

 3) Application starts ondemand governor
 4)                                  Hotplug starts a governor

In step 4, the hotplug is supposed to start the userspace governor,
but now the governor has been changed by the application to ondemand,
so the ondemand governor is started once again, which is incorrect.

The solution is to prevent policy governors from being stopped
multiple times in a row.  A governor should only be stopped once for
one policy.  After it has been stopped, no more governor stop
operations should be executed.

Also add a mutex to serialize governor operations.

[rjw: Changelog.  And you owe me a beverage of my choice.]
Signed-off-by: Xiaoguang Chen <chenxg@marvell.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:42:19 -07:00
Heiko Carstens
f26c70a452 futex: Allow architectures to skip futex_atomic_cmpxchg_inatomic() test
commit 03b8c7b623 upstream.

If an architecture has futex_atomic_cmpxchg_inatomic() implemented and there
is no runtime check necessary, allow to skip the test within futex_init().

This allows to get rid of some code which would always give the same result,
and also allows the compiler to optimize a couple of if statements away.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Finn Thain <fthain@telegraphics.com.au>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: http://lkml.kernel.org/r/20140302120947.GA3641@osiris
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
[geert: Backported to v3.10..v3.13]
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-14 06:42:19 -07:00