]> git.baikalelectronics.ru Git - kernel.git/commit
drm/hisilicon: Implement some semblance of vblank event handling
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 8 Jun 2016 12:18:57 +0000 (14:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Jun 2016 08:28:14 +0000 (10:28 +0200)
commit2d70117b741c6b9fef66e4356d0aedc1c335b0bd
tree5e6d9b73b31813214a655ce991b129fc10ef03c4
parenta63ee4957f3cec6a9b024d65548bed5c49959d45
drm/hisilicon: Implement some semblance of vblank event handling

atomic_flush seems to be the right place, but I'm not entirely sure
whether this will catch them all. It could be that when disabling the
crtc we'll miss the vblank.

While at it nuke the dummy functions.

v2: Be more robust and either arm, when the CRTC is on, or just send
the event out right away.

Cc: Xinliang Liu <xinliang.liu@linaro.org>
Cc: Xinwei Kong <kong.kongxinwei@hisilicon.com>
Cc: Archit Taneja <architt@codeaurora.org>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1465388359-8070-5-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c