]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Encode fence specific waitqueue behaviour into the wait.flags
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Dec 2020 16:58:50 +0000 (16:58 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 16 Dec 2020 20:59:56 +0000 (20:59 +0000)
commitea4b8c92696abc78e5f383ef076e438fa830c338
tree2c5d1f61a91d245aa80fba3c19c15931afe6d7a7
parent4daae961651f25563121543a362b7bf1bc20b1e9
drm/i915: Encode fence specific waitqueue behaviour into the wait.flags

Use the wait_queue_entry.flags to denote the special fence behaviour
(flattening continuations along fence chains, and for propagating
errors) rather than trying to detect ordinary waiters by their
functions.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201216165850.25030-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_sw_fence.c