Home
last modified time | relevance | path

Searched refs:tlb_cb (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.c740 struct amdgpu_vm_tlb_seq_cb *tlb_cb; in amdgpu_vm_tlb_seq_cb() local
742 tlb_cb = container_of(cb, typeof(*tlb_cb), cb); in amdgpu_vm_tlb_seq_cb()
743 atomic64_inc(&tlb_cb->vm->tlb_seq); in amdgpu_vm_tlb_seq_cb()
744 kfree(tlb_cb); in amdgpu_vm_tlb_seq_cb()
778 struct amdgpu_vm_tlb_seq_cb *tlb_cb; in amdgpu_vm_update_range() local
786 tlb_cb = kmalloc(sizeof(*tlb_cb), GFP_KERNEL); in amdgpu_vm_update_range()
787 if (!tlb_cb) { in amdgpu_vm_update_range()
891 tlb_cb->vm = vm; in amdgpu_vm_update_range()
893 !dma_fence_add_callback(*fence, &tlb_cb->cb, in amdgpu_vm_update_range()
898 amdgpu_vm_tlb_seq_cb(NULL, &tlb_cb->cb); in amdgpu_vm_update_range()
[all …]