drm/i915: Cleanup context switching through do_switch()
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 15 Jul 2012 11:34:24 +0000 (12:34 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Jul 2012 16:23:45 +0000 (18:23 +0200)
commit9a3b530455380eed28e7a93121c46d7c334153d9
treee6141ba319bd837609b3b92ef7f042d4c33b5030
parent54d63ca6605d5eb5d2ed52673b523f5781ead71b
drm/i915: Cleanup context switching through do_switch()

When bug hunting, I found the interface to do_switch() overly
complicated and I believe festered the earlier bug. This aims to make
the code a little clearer.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_context.c