Home
last modified time | relevance | path

Searched refs:last_context (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/arch/powerpc/mm/
Dmmu_context_nohash.c57 static unsigned int first_context, last_context; variable
66 (sizeof(unsigned long) * (last_context / BITS_PER_LONG + 1))
90 max = last_context - first_context; in steal_context_smp()
102 if (id > last_context) in steal_context_smp()
145 for (id = first_context; id <= last_context; id++) { in steal_all_contexts()
166 nr_free_contexts = last_context - first_context; in steal_all_contexts()
204 for (id = first_context; id <= last_context; id++) { in context_check_map()
265 if (id > last_context) in switch_mmu_context()
289 id = find_next_zero_bit(map, last_context+1, id); in switch_mmu_context()
290 if (id > last_context) in switch_mmu_context()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_context.c334 struct intel_context *lctx = ring->last_context; in i915_gem_context_reset()
341 ring->last_context = NULL; in i915_gem_context_reset()
419 WARN_ON(!dev_priv->ring[RCS].last_context); in i915_gem_context_fini()
420 if (dev_priv->ring[RCS].last_context == dctx) { in i915_gem_context_fini()
425 dev_priv->ring[RCS].last_context = NULL; in i915_gem_context_fini()
434 if (ring->last_context) in i915_gem_context_fini()
435 i915_gem_context_unreference(ring->last_context); in i915_gem_context_fini()
438 ring->last_context = NULL; in i915_gem_context_fini()
655 struct intel_context *from = ring->last_context; in do_switch()
681 from = ring->last_context; in do_switch()
[all …]
Dintel_ringbuffer.h307 struct intel_context *last_context; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_context.c279 if (new == dev->last_context) { in drm_context_switch()
301 dev->last_context = new; /* PRE/POST: This is the _only_ writer. */ in drm_context_switch_complete()
443 return drm_context_switch(dev, dev->last_context, ctx->handle); in drm_legacy_switchctx()
Ddrm_fops.c347 dev->last_context = 0; in drm_legacy_dev_reinit()
/linux-4.4.14/include/drm/
DdrmP.h788 int last_context; /**< Last current context */ member