commit | 6e0a69dbc81b88f5a42e08344203021571f6fb2f | [log] [tgz] |
---|---|---|
author | Ben Widawsky <ben@bwidawsk.net> | Mon Jun 04 14:42:55 2012 -0700 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jun 14 17:36:21 2012 +0200 |
tree | a5952c8ff568fab09aea7edae1bc63e35b5714c1 | |
parent | 846248136dd3a6723135b8515ed7dc4c52a7b2ae [diff] |
drm/i915/context: switch contexts with execbuf2 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>