diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-06 11:39:43 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-07-06 18:22:36 +0100 |
commit | 6dd7526f6f6c73961eecec8a4b9b717d414010f8 (patch) | |
tree | a0fe44aa77b07f5e7a6b4c278ce6de700276a92e /drivers/gpu/drm/i915/i915_request.h | |
parent | da99fe5f858525b0eac5a5296bba5d6bedb81abd (diff) | |
download | linux-stable-6dd7526f6f6c73961eecec8a4b9b717d414010f8.tar.gz linux-stable-6dd7526f6f6c73961eecec8a4b9b717d414010f8.tar.bz2 linux-stable-6dd7526f6f6c73961eecec8a4b9b717d414010f8.zip |
drm/i915: Export i915_request_skip()
In the next patch, we will want to start skipping requests on failing to
complete their payloads. So export the utility function current used to
make requests inoperable following a failed gpu reset.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180706103947.15919-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_request.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_request.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_request.h b/drivers/gpu/drm/i915/i915_request.h index 7ee220ded9c9..a355a081485f 100644 --- a/drivers/gpu/drm/i915/i915_request.h +++ b/drivers/gpu/drm/i915/i915_request.h @@ -258,6 +258,8 @@ void i915_request_add(struct i915_request *rq); void __i915_request_submit(struct i915_request *request); void i915_request_submit(struct i915_request *request); +void i915_request_skip(struct i915_request *request, int error); + void __i915_request_unsubmit(struct i915_request *request); void i915_request_unsubmit(struct i915_request *request); |