.\" 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_AGP_FREE" "9" "09 October 2005" "" ""
.SH NAME
drm_agp_free \-
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int drm_agp_free (struct inode * \fIinode\fB, struct file * \fIfilp\fB, unsigned int \fIcmd\fB, unsigned long \fIarg\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
-- undescribed --
.TP
\fB\fIfilp\fB\fR
-- undescribed --
.TP
\fB\fIcmd\fB\fR
-- undescribed --
.TP
\fB\fIarg\fB\fR
-- undescribed --
.SH "DESCRIPTION"
.PP
.PP
\\param inode device inode.
\\param filp file pointer.
\\param cmd command.
\\param arg pointer to a drm_agp_buffer structure.
\\return zero on success or a negative number on failure.
.PP
Verifies the AGP device is present and has been acquired and looks up the
AGP memory entry. If the memory it's currently bound, unbind it via
\fBunbind_agp\fR\&. Frees it via \fBfree_agp\fR as well as the entry itself
and unlinks from the doubly linked list it's inserted in.