diff options
author | Ilija Hadzic | 2011-10-31 13:11:57 -0400 |
---|---|---|
committer | Dave Airlie | 2011-11-11 11:16:30 +0000 |
commit | a6778e9e7fb57603f15344ceb30098a3f6b7caf4 (patch) | |
tree | 1422443322e6bd119edab9db60dc6ae2e3d3b29f /init/main.c | |
parent | bfba16582600ab2c75dc39250a2b8f3b2a42da11 (diff) |
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 <ihadzic@research.bell-labs.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions