.\" 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_LOCK_TRANSFER" "9" "09 October 2005" "" ""
.SH NAME
drm_lock_transfer \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int drm_lock_transfer (drm_device_t * \fIdev\fB, __volatile__ unsigned int * \fIlock\fB, unsigned int \fIcontext\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdev\fB\fR
-- undescribed --
.TP
\fB\fIlock\fB\fR
-- undescribed --
.TP
\fB\fIcontext\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
inside *_unlock to give lock to kernel before calling *_dma_schedule.
.PP
\\param dev DRM device.
\\param lock lock pointer.
\\param context locking context.
\\return always one.
.PP
Resets the lock file pointer.
Marks the lock as held by the given context, via the \\p cmpxchg instruction.