]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use the default context
authorBen Widawsky <ben@bwidawsk.net>
Mon, 4 Jun 2012 21:42:51 +0000 (14:42 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 14 Jun 2012 15:36:19 +0000 (17:36 +0200)
commit160d03ac4b4047917e4a5c5c3f91c06ad9441869
tree5cb53f3a711f3ab35328c4757d455526353e56d3
parentc90d6928ce07c2c555044be5a6c976ac2f88e873
drm/i915: use the default context

With the code to do HW context switches in place have the driver load the
default context for the render ring when the driver loads.

The default context will be an ever present context that is available to
switch to at any time for the given ring.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
drivers/gpu/drm/i915/i915_gem_context.c