]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: Send a VBLANK event when disabling a CRTC
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 16 Jun 2017 08:30:33 +0000 (10:30 +0200)
committerEric Anholt <eric@anholt.net>
Wed, 21 Jun 2017 17:27:04 +0000 (10:27 -0700)
commitc30037b8667312bdeb4ae8e759f850adad8dd305
tree794a66edb057d472c1551adb36e1b965577ba7b3
parent78f9d0600f63733bd8f5f8ff3cb68ff1c1bf54e3
drm/vc4: Send a VBLANK event when disabling a CRTC

VBLANK events are missed when the CRTC is being disabled because the
driver does not wait till the end of the frame before stopping the
HVS and PV blocks. In this case, we should explicitly issue a VBLANK
event if there's one waiting.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: http://patchwork.freedesktop.org/patch/msgid/1497601833-24588-1-git-send-email-boris.brezillon@free-electrons.com
drivers/gpu/drm/vc4/vc4_crtc.c