rockchip: rk3399: Don't wait for vblank in M0 for ddrfreq
authorDerek Basehore <dbasehore@chromium.org>
Mon, 9 Jan 2017 23:38:57 +0000 (15:38 -0800)
committerXing Zheng <zhengxing@rock-chips.com>
Fri, 24 Feb 2017 12:07:44 +0000 (20:07 +0800)
commita7519b6bed22934a00370c608b5deca8221968cd
treee1d7374bbfd826283f1328b5108c3f4854a5d121
parentef0a6bfc69dc5bd71c0414c843bb57b69820f4f6
rockchip: rk3399: Don't wait for vblank in M0 for ddrfreq

This removes waiting for vblank on the M0 during ddrfreq transitions.
That will now be done in the kernel to allow scheduling to be done on
the CPU core that changes the ddr frequency. Waiting for vblank in
the M0 would have the CPU core that waits on the M0 spin looping for
up to 16ms (1 frame for the display).

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
plat/rockchip/rk3399/drivers/m0/src/dram.c