OSDN Git Service

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)
commit460d02ba50763e73da033448d0d57f0aea23d039
tree2c5d1f61a91d245aa80fba3c19c15931afe6d7a7
parent45233ab2d036ce55bbdb59e7260e586dbb1a6b86
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