Searched refs:last_context (Results 1 – 6 of 6) sorted by relevance
192 if (new == dev->last_context) { in drm_context_switch()202 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */ in drm_context_switch_complete()283 return drm_context_switch(dev, dev->last_context, ctx->handle); in drm_switchctx()
321 dev->last_context = 0; in drm_firstopen()
676 int last_context; /* Last current context */ member
273 if (new == dev->last_context) { in drm_context_switch()295 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */ in drm_context_switch_complete()429 return drm_context_switch(dev, dev->last_context, ctx->handle); in drm_switchctx()
83 dev->last_context = 0; in drm_setup()
1029 int last_context; /**< Last current context */ member