.\" 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_CONTEXT_SWITCH_COMPLETE" "9" "09 October 2005" "" "" .SH NAME drm_context_switch_complete \- .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int drm_context_switch_complete (drm_device_t * \fIdev\fB, int \fInew\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .TP \fB\fInew\fB\fR -- undescribed -- .SH "DESCRIPTION" .PP .PP \\param dev DRM device. \\param new new context handle. \\return zero on success or a negative number on failure. .SH "UPDATES DRM_DEVICE" .PP :last_context and drm_device::last_switch. Verifies the hardware lock is held, clears the drm_device::context_flag and wakes up .SH "DRM_DEVICE" .PP :context_wait.