diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2012-06-04 14:42:56 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-06-14 17:36:21 +0200 |
commit | 8e96d9c4d9843f00ebeb4a9b33596d96602ea101 (patch) | |
tree | 6debb2fe30a95df483773d0d3e9f959d003f4a72 /drivers/gpu/drm/i915/i915_drv.h | |
parent | 6e0a69dbc81b88f5a42e08344203021571f6fb2f (diff) | |
download | lwn-8e96d9c4d9843f00ebeb4a9b33596d96602ea101.tar.gz lwn-8e96d9c4d9843f00ebeb4a9b33596d96602ea101.zip |
drm/i915: reset the GPU on context fini
It's the only way we know how to make the GPU actually forget about the
default context.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 03e7f9e683e3..6f29fd141ab0 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -1184,6 +1184,7 @@ extern long i915_compat_ioctl(struct file *filp, unsigned int cmd, extern int i915_emit_box(struct drm_device *dev, struct drm_clip_rect *box, int DR1, int DR4); +extern int intel_gpu_reset(struct drm_device *dev); extern int i915_reset(struct drm_device *dev); extern unsigned long i915_chipset_val(struct drm_i915_private *dev_priv); extern unsigned long i915_mch_val(struct drm_i915_private *dev_priv); |