drm/i915/context: switch contexts with execbuf2
authorBen Widawsky <ben@bwidawsk.net>
Mon, 4 Jun 2012 21:42:55 +0000 (14:42 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Jun 2012 15:36:21 +0000 (17:36 +0200)
Use the rsvd1 field in execbuf2 to specify the context ID associated
with the workload. This will allow the driver to do the proper context
switch when/if needed.

v2: Add checks for context switches on rings not supporting contexts.
Before the code would silently ignore such requests.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>

No differences found