summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_lrc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-04-28 09:56:51 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-04-28 12:17:32 +0100
commit5d1808ecbc370ce6a083947f8866c8e857671914 (patch)
treea126fde5d6f0266ec212e7b6b32b882333bbdfa3 /drivers/gpu/drm/i915/intel_lrc.c
parentef87bba8280442bfbd07df5e409df85b023b39c2 (diff)
downloadlwn-5d1808ecbc370ce6a083947f8866c8e857671914.tar.gz
lwn-5d1808ecbc370ce6a083947f8866c8e857671914.zip
drm/i915: Assign every HW context a unique ID
The hardware tracks contexts and expects all live contexts (those active on the hardware) to have a unique identifier. This is used by the hardware to assign pagefaults and the like to a particular context. v2: Reorder to make sure ctx->link is not left dangling if the assignment of a hw_id fails (Mika). v3: We have 21bits of context space, not 20. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-17-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lrc.c')
0 files changed, 0 insertions, 0 deletions