Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c283 *id = vm->reserved_vmid[vmhub]; in amdgpu_vmid_grab_reserved()
425 if (vm->reserved_vmid[vmhub]) { in amdgpu_vmid_grab()
479 if (vm->reserved_vmid[vmhub]) in amdgpu_vmid_alloc_reserved()
491 vm->reserved_vmid[vmhub] = idle; in amdgpu_vmid_alloc_reserved()
507 if (vm->reserved_vmid[vmhub]) { in amdgpu_vmid_free_reserved()
508 list_add(&vm->reserved_vmid[vmhub]->list, in amdgpu_vmid_free_reserved()
510 vm->reserved_vmid[vmhub] = NULL; in amdgpu_vmid_free_reserved()
Damdgpu_vm.h292 struct amdgpu_vmid *reserved_vmid[AMDGPU_MAX_VMHUBS]; member
Damdgpu_vm.c1184 bool update_spm_vmid_needed = (job->vm && (job->vm->reserved_vmid[vmhub] != NULL)); in amdgpu_vm_flush()
2938 vm->reserved_vmid[i] = NULL; in amdgpu_vm_init()