]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: Optimization vop mode set
authorMark Yao <mark.yao@rock-chips.com>
Wed, 16 Dec 2015 10:08:17 +0000 (18:08 +0800)
committerMark Yao <mark.yao@rock-chips.com>
Mon, 28 Dec 2015 00:49:48 +0000 (08:49 +0800)
commitd7052c5696f6d0fb2f98c8e0a286c287ca480527
treec6093d90fbeb7d2ac9a4cb6d8a7f60714a64b17c
parenta4686128c35abf9287166a463f4338163125cdae
drm/rockchip: Optimization vop mode set

Rk3288 vop timing registers is immediately register, when configure
timing on display active time, will cause tearing. use dclk reset is
not a good idea to avoid this tearing. we can avoid tearing by using
standby register.

Vop standby register will take effect at end of current frame, and
go back to work immediately when exit standby.

So we can use standby register to protect this context.

Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c