summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_guc.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-01-16 15:33:04 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-01-16 22:45:31 +0000
commit9f58892ea9962002399132fd3f40c6a273f8d9e1 (patch)
tree7721b59cd6f41c2d184e7247672f67131c7c3f65 /drivers/gpu/drm/i915/intel_guc.h
parent18bb2bccb5492fb5c36908191b8af77e54c58814 (diff)
downloadlinux-9f58892ea9962002399132fd3f40c6a273f8d9e1.tar.gz
linux-9f58892ea9962002399132fd3f40c6a273f8d9e1.tar.bz2
linux-9f58892ea9962002399132fd3f40c6a273f8d9e1.zip
drm/i915: Pull all the reset functionality together into i915_reset.c
Currently the code to reset the GPU and our state is spread widely across a few files. Pull the logic together into a common file. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190116153304.787-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc.h')
-rw-r--r--drivers/gpu/drm/i915/intel_guc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_guc.h b/drivers/gpu/drm/i915/intel_guc.h
index 0f1c4f9ebfd8..744220296653 100644
--- a/drivers/gpu/drm/i915/intel_guc.h
+++ b/drivers/gpu/drm/i915/intel_guc.h
@@ -192,4 +192,7 @@ static inline void intel_guc_disable_msg(struct intel_guc *guc, u32 mask)
spin_unlock_irq(&guc->irq_lock);
}
+int intel_guc_reset_engine(struct intel_guc *guc,
+ struct intel_engine_cs *engine);
+
#endif