Lines Matching refs:new
72 * Allocate a new idr from drm_device::ctx_idr while holding the
226 * \param new new context handle.
231 static int drm_context_switch(struct drm_device * dev, int old, int new)
238 DRM_DEBUG("Context switch from %d to %d\n", old, new);
240 if (new == dev->last_context) {
252 * \param new new context handle.
260 struct drm_file *file_priv, int new)
262 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */
316 * Get a new handle for the context and copy to userspace.
326 /* Skip kernel's context and get a new one. */