summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_lrc.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-04-11 14:05:14 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-04-11 20:48:51 +0100
commit292ad25c22d96583b76ce714b7a06941d54bd939 (patch)
tree9c3b62c8baf5527490d437615d04e622e11f2a38 /drivers/gpu/drm/i915/intel_lrc.h
parent3936867dbc1eb8790aa5985a68d53e4303b3616f (diff)
downloadlinux-292ad25c22d96583b76ce714b7a06941d54bd939.tar.gz
linux-292ad25c22d96583b76ce714b7a06941d54bd939.tar.bz2
linux-292ad25c22d96583b76ce714b7a06941d54bd939.zip
drm/i915/guc: Implement reset locally
Before causing guc and execlists to diverge further (breaking guc in the process), take a copy of the current reset procedure and make it local to the guc submission backend Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190411130515.20716-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_lrc.h')
-rw-r--r--drivers/gpu/drm/i915/intel_lrc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_lrc.h b/drivers/gpu/drm/i915/intel_lrc.h
index 1e343a4af442..84aa230ea27b 100644
--- a/drivers/gpu/drm/i915/intel_lrc.h
+++ b/drivers/gpu/drm/i915/intel_lrc.h
@@ -103,6 +103,11 @@ struct i915_gem_context;
void intel_execlists_set_default_submission(struct intel_engine_cs *engine);
+void intel_lr_context_reset(struct intel_engine_cs *engine,
+ struct intel_context *ce,
+ u32 head,
+ bool scrub);
+
void intel_execlists_show_requests(struct intel_engine_cs *engine,
struct drm_printer *m,
void (*show_request)(struct drm_printer *m,