[PATCH] drm: Only handle _DRM_VBLANK_NEXTONMISS once
Daniel Vetter
daniel at ffwll.ch
Tue Jul 12 10:55:29 UTC 2016
On Mon, Jul 11, 2016 at 04:04:41PM +0900, Michel Dänzer wrote:
> On 24.06.2016 17:17, Chris Wilson wrote:
> > On Fri, Jun 24, 2016 at 04:59:47PM +0900, Michel Dänzer wrote:
> >> From: Michel Dänzer <michel.daenzer at amd.com>
> >>
> >> Consolidate the _DRM_VBLANK_NEXTONMISS handling between drm_wait_vblank
> >> and drm_queue_vblank_event.
> >>
> >> This is a cleanup spotted while working on other changes.
> >>
> >> (The way it was previously handled could also theoretically result in
> >> drm_queue_vblank_event unnecessarily bumping vblwait->request.sequence,
> >> if the vblank counter happened to increment between the
> >> drm_vblank_count(_and_time) calls in each function, but that's unlikely)
> >>
> >> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
> > Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> Thanks, Chris!
>
>
> Daniel, can you pick this up?
Done. Thanks for patch&review.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list