Lines Matching defs:new
76 * Allocate a new idr from drm_device::ctx_idr while holding the
129 * @file. Note that after this call returns, new contexts might be added if
265 * \param new new context handle.
270 static int drm_context_switch(struct drm_device * dev, int old, int new)
277 DRM_DEBUG("Context switch from %d to %d\n", old, new);
279 if (new == dev->last_context) {
291 * \param new new context handle.
299 struct drm_file *file_priv, int new)
301 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */
357 * Get a new handle for the context and copy to userspace.
371 /* Skip kernel's context and get a new one. */