.\" 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_ADDBUFS" "9" "09 October 2005" "" "" .SH NAME drm_addbufs \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_addbufs (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_buf_desc_t request. \\return zero on success or a negative number on failure. .SH "ACCORDING WITH THE MEMORY TYPE SPECIFIED IN DRM_BUF_DESC" .PP :flags and the build options, it dispatches the call either to \fBaddbufs_agp\fR, \fBaddbufs_sg\fR or \fBaddbufs_pci\fR for AGP, scatter-gather or consistent PCI memory respectively.