dma_fence_chain_get_prev
while ((prev = dma_fence_chain_get_prev(chain))) {
replacement = dma_fence_chain_get_prev(prev_chain);