diff options
author | Chris Wilson <[email protected]> | 2019-08-11 22:09:02 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-08-12 08:25:52 +0100 |
commit | 1f70b8b812f36c24112b3e56a32412522673e50e (patch) | |
tree | 0db1e9d7a32c5d3d250f9d3daa20d1c6345b6975 /lib/memory-notifier-error-inject.c | |
parent | e0d409ff16201e76e07ebb5ec942abfbaf21c661 (diff) |
dma-fence: Propagate errors to dma-fence-array container
When one of the array of fences is signaled, propagate its errors to the
parent fence-array (keeping the first error to be raised).
v2: Opencode cmpxchg_local to avoid compiler freakout.
v3: Be careful not to flag an error if we race against signal-on-any.
v4: Same applies to installing the signal cb.
v5: Use cmpxchg to only set the error once before using a nifty idea by
Christian to avoid changing the status after emitting the signal.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Gustavo Padovan <[email protected]>
Cc: Christian König <[email protected]>
Reviewed-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions