aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-11 22:09:02 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-12 08:25:52 +0100
commit1f70b8b812f36c24112b3e56a32412522673e50e (patch)
tree0db1e9d7a32c5d3d250f9d3daa20d1c6345b6975 /drivers/gpu/drm/amd/amdgpu
parentdrm/panel: drop return code from drm_panel_detach() (diff)
downloadwireguard-linux-1f70b8b812f36c24112b3e56a32412522673e50e.tar.xz
wireguard-linux-1f70b8b812f36c24112b3e56a32412522673e50e.zip
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 <chris@chris-wilson.co.uk> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: Gustavo Padovan <gustavo@padovan.org> Cc: Christian König <christian.koenig@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190811210902.22112-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions