Re: [PATCH] drm/vc4: Fix VBLANK handling in crtc->enable() path

2017-07-14 Thread Eric Anholt
Boris Brezillon writes: > When we are enabling a CRTC, drm_crtc_vblank_get() is called before > drm_crtc_vblank_on(), which is not supposed to happen (hence the > WARN_ON() in the code). To solve the problem, we delay the 'update > display list' operation after the CRTC is actually enabled. Revi

[PATCH] drm/vc4: Fix VBLANK handling in crtc->enable() path

2017-06-22 Thread Boris Brezillon
When we are enabling a CRTC, drm_crtc_vblank_get() is called before drm_crtc_vblank_on(), which is not supposed to happen (hence the WARN_ON() in the code). To solve the problem, we delay the 'update display list' operation after the CRTC is actually enabled. Signed-off-by: Boris Brezillon --- d