drm/rockchip: vop: reject vlank control when vop is disabled
authorMark Yao <mark.yao@rock-chips.com>
Tue, 6 Sep 2016 08:44:57 +0000 (16:44 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 13 Sep 2016 05:58:39 +0000 (13:58 +0800)
commitf064782cc6750e31d178dc31d34b0ef3c8a5e8d7
treeb6b968f47cc7e16d793439a73a358abd00012399
parente5086840a4e25a5a3ecbca4b992aca39e2881227
drm/rockchip: vop: reject vlank control when vop is disabled

drm enable/disable_vblank callback maybe call when vop is disabled,
it would cause system hang, we need reject it.

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