]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited51b404194b2b75bd57b4192d5930bff4c7c56f
treee6141ba319bd837609b3b92ef7f042d4c33b5030
parentda49ffe0f0ff53133ad901b5e479f05e6f8b222a
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