Lines Matching refs:vm_id
182 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id() local
188 if (vm_id->id && vm_id->last_id_use && in radeon_vm_grab_id()
189 vm_id->last_id_use == rdev->vm_manager.active[vm_id->id]) in radeon_vm_grab_id()
193 vm_id->pd_gpu_addr = ~0ll; in radeon_vm_grab_id()
201 vm_id->id = i; in radeon_vm_grab_id()
214 vm_id->id = choices[i]; in radeon_vm_grab_id()
242 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_flush() local
244 if (pd_addr != vm_id->pd_gpu_addr || !vm_id->flushed_updates || in radeon_vm_flush()
245 radeon_fence_is_earlier(vm_id->flushed_updates, updates)) { in radeon_vm_flush()
248 radeon_fence_unref(&vm_id->flushed_updates); in radeon_vm_flush()
249 vm_id->flushed_updates = radeon_fence_ref(updates); in radeon_vm_flush()
250 vm_id->pd_gpu_addr = pd_addr; in radeon_vm_flush()
252 vm_id->id, vm_id->pd_gpu_addr); in radeon_vm_flush()
273 unsigned vm_id = vm->ids[fence->ring].id; in radeon_vm_fence() local
275 radeon_fence_unref(&rdev->vm_manager.active[vm_id]); in radeon_vm_fence()
276 rdev->vm_manager.active[vm_id] = radeon_fence_ref(fence); in radeon_vm_fence()