]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Unwrap top level fence-array
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 09:39:19 +0000 (10:39 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 3 May 2017 10:08:46 +0000 (11:08 +0100)
commit39f9eed69d7d01b452f1179cd5ada16d0487f5d7
treeeed50960f6fa8360bf5f756d70eee7984b3a16b5
parent5ced289e577a4857f8e47d6b96322d08b6a488a4
drm/i915: Unwrap top level fence-array

By first unwrapping an incoming fence-array into its child fences, we
can simplify the internal branching, and so avoid triggering a potential
bug in the next patch when not squashing the child fences on the same
timeline.

It will also have the advantage of keeping the (top-level) fence arrays
out of any fence/timeline caching since these are unordered timelines
but with a random context id.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170503093924.5320-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_request.c