Re: [PATCH 2/7] drm/vc4: Fix vblank handling

2017-06-16 Thread Boris Brezillon
On Thu, 15 Jun 2017 16:30:58 -0700 Eric Anholt wrote: > Boris Brezillon writes: > > > There are two problems related to VBLANK handling in the current CRTC > > driver: > > > > * VBLANK events are missed when the CRTC is being disabled

Re: [PATCH 2/7] drm/vc4: Fix vblank handling

2017-06-15 Thread Eric Anholt
Boris Brezillon writes: > There are two problems related to VBLANK handling in the current CRTC > driver: > > * 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

[PATCH 2/7] drm/vc4: Fix vblank handling

2017-06-02 Thread Boris Brezillon
There are two problems related to VBLANK handling in the current CRTC driver: * 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