On Thu, Sep 29, 2016 at 3:39 PM, Andrzej Hajda wrote:
>
>>> +drm_crtc_arm_vblank_event(crtc, event);
>>> +else
>>> +drm_crtc_send_vblank_event(crtc, event);
>>> +spin_unlock_irq(&crtc->dev->event_lock);
>>> +}
>>> +}
>>> +EXPORT_S
Hi Daniel,
On 29.09.2016 11:44, Daniel Vetter wrote:
> On Tue, Sep 27, 2016 at 03:36:14PM +0200, Andrzej Hajda wrote:
>> A lot of drivers need to fire pageflip completion event at very next vblank
>> interrupt. The patch adds helper to perform this operation.
>> drm_crtc_arm_completion_event chec
On Tue, Sep 27, 2016 at 03:36:14PM +0200, Andrzej Hajda wrote:
> A lot of drivers need to fire pageflip completion event at very next vblank
> interrupt. The patch adds helper to perform this operation.
> drm_crtc_arm_completion_event checks if there is an event to handle,
> if vblank reference get
A lot of drivers need to fire pageflip completion event at very next vblank
interrupt. The patch adds helper to perform this operation.
drm_crtc_arm_completion_event checks if there is an event to handle,
if vblank reference get succeeds it arms the event, otherwise it sends the
event immediately.