summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorBen Widawsky <ben@bwidawsk.net>2012-06-05 01:42:56 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-14 19:36:21 +0400
commit8e96d9c4d9843f00ebeb4a9b33596d96602ea101 (patch)
tree6debb2fe30a95df483773d0d3e9f959d003f4a72 /drivers/gpu/drm/i915/i915_drv.c
parent6e0a69dbc81b88f5a42e08344203021571f6fb2f (diff)
downloadlinux-8e96d9c4d9843f00ebeb4a9b33596d96602ea101.tar.xz
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.c')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 5d9e07ece3c2..f0bd30ab1551 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -799,7 +799,7 @@ static int gen6_do_reset(struct drm_device *dev)
return ret;
}
-static int intel_gpu_reset(struct drm_device *dev)
+int intel_gpu_reset(struct drm_device *dev)
{
struct drm_i915_private *dev_priv = dev->dev_private;
int ret = -ENODEV;