Lines Matching defs:new
77 * Allocate a new idr from drm_device::ctx_idr while holding the
132 * @file. Note that after this call returns, new contexts might be added if
271 * \param new new context handle.
276 static int drm_context_switch(struct drm_device * dev, int old, int new)
283 DRM_DEBUG("Context switch from %d to %d\n", old, new);
285 if (new == dev->last_context) {
297 * \param new new context handle.
305 struct drm_file *file_priv, int new)
307 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */
363 * Get a new handle for the context and copy to userspace.
378 /* Skip kernel's context and get a new one. */