drm/hisilicon: Fix ADE vblank on/off handling
authorXinliang Liu <xinliang.liu@linaro.org>
Thu, 30 Jun 2016 09:23:00 +0000 (17:23 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 12:17:03 +0000 (14:17 +0200)
commit4517cf9b879abdb928b75932d4354023c4af3a3a
tree61c46fec527ff554ef70ce6d670e62c19ae561c6
parentda82ee99eef9817416ea9b8a23973da062d5c8fe
drm/hisilicon: Fix ADE vblank on/off handling

Vblank turn on should be called in crtc's enable callback.
And turn off called in crtc's disable callback.

Thanks to Daniel Vetter, this bug is reported by him.

Reported-by: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Xinliang Liu <xinliang.liu@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160630092300.141864-1-xinliang.liu@linaro.org
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c