Re: [Intel-gfx] [PATCH] drm/i915: Serialise read/write of the barrier's engine

2019-08-14 Thread Joonas Lahtinen
Quoting Chris Wilson (2019-08-13 23:09:05) > We use the request pointer inside the i915_active_node as the indicator > of the barrier's status; we mark it as used during > i915_request_add_active_barriers(), and search for an available barrier > in reuse_idle_barrier(). That check must be carefully

[Intel-gfx] [PATCH] drm/i915: Serialise read/write of the barrier's engine

2019-08-13 Thread Chris Wilson
We use the request pointer inside the i915_active_node as the indicator of the barrier's status; we mark it as used during i915_request_add_active_barriers(), and search for an available barrier in reuse_idle_barrier(). That check must be carefully serialised to ensure we do use an engine for the b