diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-09 12:01:00 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-04-09 19:52:03 +0100 |
commit | 5de376bb434f80a13138f0ebedc8351ab73d8b0d (patch) | |
tree | ffaaba4b130e7f4e1116a291d89bd719ba12dca0 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c | |
parent | 29da47cfc1f0c3aad0daa89ccf284c3465971482 (diff) |
dma-buf: Report signaled links inside dma-fence-chain
Whenever we walk along the dma-fence-chain, we prune signaled links to
keep the chain nice and tidy. This leads to situations where we can
prune a link and report the earlier fence as the target seqno --
violating our own consistency checks that the seqno is not more advanced
than the last element in a dma-fence-chain.
Report a NULL fence and success if the seqno has already been signaled.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Tested-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Reviewed-by: Venkata Sandeep Dhanalakota <venkata.s.dhanalakota@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200409110101.18400-2-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_cpu.c')
0 files changed, 0 insertions, 0 deletions