]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Replace the pinned context address with its unique ID
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 08:56:52 +0000 (09:56 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 Apr 2016 11:17:32 +0000 (12:17 +0100)
commit6ca9ec62a6abce49615b654bb128ef189310d123
tree49218041ed20d2ab6820e85b85ead563b0b155f7
parentdcd2741ef5cd42b2d1dbc11c162391295b4aae82
drm/i915: Replace the pinned context address with its unique ID

Rather than reuse the current location of the context in the global GTT
for its hardware identifier, use the context's unique ID assigned to it
for its whole lifetime.

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-18-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h