commit | a3d127616eef78d0e4a677b6634dbc914ff4fd0a | [log] [tgz] |
---|---|---|
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | Thu Apr 28 09:56:57 2016 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu Apr 28 12:17:32 2016 +0100 |
tree | eda4261caa82e14e2c96983bf8fcb20a02445ec1 | |
parent | a16a405259b3648bda4c6732020b5fdf5ab01526 [diff] [blame] |
drm/i915: Store LRC hardware id in the request This way in the following patch we can disconnect requests from contexts. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1461833819-3991-23-git-send-email-chris@chris-wilson.co.uk
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index eb4a95b..e2abbcc 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2352,6 +2352,8 @@ /** Execlists no. of times this request has been sent to the ELSP */ int elsp_submitted; + /** Execlists context hardware id. */ + unsigned ctx_hw_id; }; struct drm_i915_gem_request * __must_check