<dec f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_drv.h' l='2574' type='int i915_switch_context(struct intel_ring_buffer * ring, struct i915_hw_context * to)'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem.c' l='3551' u='c' c='i915_gpu_idle'/>
<use f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c' l='483' u='c' c='i915_gem_context_enable'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c' l='725' ll='743' type='int i915_switch_context(struct intel_ring_buffer * ring, struct i915_hw_context * to)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_context.c' l='715'>/**
 * i915_switch_context() - perform a GPU context switch.
 * @ring: ring for which we&apos;ll execute the context switch
 * @to: the context to switch to
 *
 * The context life cycle is simple. The context refcount is incremented and
 * decremented by 1 and create and destroy. If the context is in use by the GPU,
 * it will have a refoucnt &gt; 1. This allows us to destroy the context abstract
 * object while letting the normal object tracking destroy the backing BO.
 */</doc>
<use f='src/src/sys/external/bsd/drm2/dist/drm/i915/i915_gem_execbuffer.c' l='1310' u='c' c='i915_gem_do_execbuffer'/>
