.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "DRM_WAIT_VBLANK" "9" "09 October 2005" "" ""
.SH NAME
drm_wait_vblank \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int drm_wait_vblank ( \fIDRM_IOCTL_ARGS\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIDRM_IOCTL_ARGS\fB\fR
.SH "DESCRIPTION"
.PP
.PP
\\param inode device inode.
\\param filp file pointer.
\\param cmd command.
\\param data user argument, pointing to a drm_wait_vblank structure.
\\return zero on success or a negative number on failure.
.PP
Verifies the IRQ is installed.
.PP
If a signal is requested checks if this task has already scheduled the same signal
for the same vblank sequence number - nothing to be done in
that case. If the number of tasks waiting for the interrupt exceeds 100 the
function fails. Otherwise adds a new entry to drm_device::vbl_sigs for this
task.
.PP
If a signal is not requested, then calls \fBvblank_wait\fR\&.