[PATCH v2] drm: add some comments to drm_wait_vblank and drm_queue_vblank_event

Daniel Vetter daniel at ffwll.ch
Mon Oct 31 14:02:43 PDT 2011

On Mon, Oct 31, 2011 at 01:11:57PM -0400, Ilija Hadzic wrote:
> during the review of the fix for locks problems in drm_wait_vblank,
> a couple of false concerns were raised about how the drm_vblank_get
> and drm_vblank_put are used in this function; it turned out that the
> code is correct and that it cannot be simplified
> add a few comments to explain non-obvious flows in the code,
> to prevent "false alarms" in the future
> v2: incorporate comments received from Daniel Vetter
> Signed-off-by: Ilija Hadzic <ihadzic at research.bell-labs.com>
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48

More information about the dri-devel mailing list