]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Re-expose SINGLE_TIMELINE flags for context creation
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 May 2019 21:11:28 +0000 (22:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 22 May 2019 07:40:35 +0000 (08:40 +0100)
commit35d1caeef0975077f472d4df123668d3b72a2ebb
tree3d8319cb251ceba4ff9b253abe048e71bef89447
parent8d433fa25e337466763dd4b52a85efdb75d414f8
drm/i915: Re-expose SINGLE_TIMELINE flags for context creation

The SINGLE_TIMELINE flag can be used to create a context such that all
engine instances within that context share a common timeline. This can
be useful for mixing operations between real and virtual engines, or
when using a composite context for a single client API context.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190521211134.16117-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_context.c
include/uapi/drm/i915_drm.h