drm/rockchip: Do not enable vblank without event
authorTomasz Figa <tfiga@chromium.org>
Wed, 14 Sep 2016 12:54:59 +0000 (21:54 +0900)
committerSean Paul <seanpaul@chromium.org>
Wed, 21 Sep 2016 13:55:51 +0000 (06:55 -0700)
commit646ec68718067a3e6b029b72a9a2919178f0f201
treeda61c33216315aa6d923d99858798b8f9e87d949
parent81c248f75a130c1ce46c67e8b05b37e8ffbbb33e
drm/rockchip: Do not enable vblank without event

Originally we needed to enable vblank for any atomic commit to kick the
PSR machine, but that was changed and we no longer need to do so from
a vblank interrupt. Let's return to original behavior of enabling
vblank only if it is really necessary.

This essentially reverts commit 5b6804034ae9 ("drm/rockchip: Enable
vblank without event").

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
drivers/gpu/drm/rockchip/rockchip_drm_vop.c