UPSTREAM: drm/rockchip: Always signal event in next vblank after cfg_done
authorTomasz Figa <tfiga@chromium.org>
Wed, 14 Sep 2016 12:55:00 +0000 (21:55 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 26 Jul 2017 11:09:45 +0000 (19:09 +0800)
commit5fd5d0d25b0754ec028085607b54b79e08e83f74
tree47541f14db4ec75593c2f401339321241e3454d4
parent3e8b3fb984a3eb11b83eb784ff879a785a55ba33
UPSTREAM: drm/rockchip: Always signal event in next vblank after cfg_done

This patch makes the driver send the pending vblank event in next vblank
following the commit, relying on vblank signalling improvements done in
previous patches. This gives us vblank events that always represent the
real moment of changes hitting on the screen (which was the case only
for complete FB changes before) and lets us remove the manual window
update check.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
(cherry picked from commit 41ee436700f41260663d0b201585551745b623d0)

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