From: Ilija Hadzic Date: Mon, 31 Oct 2011 17:11:57 +0000 (-0400) Subject: drm: add some comments to drm_wait_vblank and drm_queue_vblank_event X-Git-Tag: v3.2-rc2~24^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6778e9e7fb57603f15344ceb30098a3f6b7caf4;p=pandora-kernel.git drm: add some comments to drm_wait_vblank and drm_queue_vblank_event 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 Reviewed-by: Daniel Vetter Signed-off-by: Dave Airlie --- Reading git-diff-tree failed