]> asedeno.scripts.mit.edu Git - linux.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)
commit8319f44c0525708c26ac7724da897cff3dbb0f84
tree3d8319cb251ceba4ff9b253abe048e71bef89447
parente620f7b3a26389dfce2663ad4e64c2271ad1a815
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