drm/i915: reset the GPU on context fini
authorBen Widawsky <ben@bwidawsk.net>
Mon, 4 Jun 2012 21:42:56 +0000 (14:42 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Jun 2012 15:36:21 +0000 (17:36 +0200)
commit8e96d9c4d9843f00ebeb4a9b33596d96602ea101
tree6debb2fe30a95df483773d0d3e9f959d003f4a72
parent6e0a69dbc81b88f5a42e08344203021571f6fb2f
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>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c