]> 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)
commit943136f5356e76e3eada3c25ff54d267ab0e909c
tree5cb53f3a711f3ab35328c4757d455526353e56d3
parent953d2f851b8da6888c7e8d58cdc7bb6fe968c4e1
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