.\" 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_SETUNIQUE" "9" "09 October 2005" "" "" .SH NAME drm_setunique \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_setunique (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 user argument, pointing to a drm_unique structure. \\return zero on success or a negative number on failure. .SH "COPIES THE BUS ID FROM USERSPACE INTO DRM_DEVICE" .PP :unique, and verifies that it matches the device this DRM is attached to (EINVAL otherwise). Deprecated in interface version 1.1 and will return EBUSY when setversion has requested version 1.1 or greater.