/src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/ |
cik_event_interrupt.c | 42 uint16_t pasid; local in function:cik_event_interrupt_isr 46 * VMID and PASID are not written into ih_ring_entry 58 ret = f2g->get_atc_vmid_pasid_mapping_info(dev->kgd, vmid, &pasid); 62 tmp_ihre->ring_id |= pasid << 16; 64 return ret && (pasid != 0) && 75 /* If there is no valid PASID, it's likely a firmware bug */ 76 pasid = (ihre->ring_id & 0xffff0000) >> 16; 77 if (WARN_ONCE(pasid == 0, "FW bug: No PASID in KFD interrupt")) 98 unsigned int pasid = (ihre->ring_id & 0xffff0000) >> 16 local in function:cik_event_interrupt_wq [all...] |
kfd_int_process_v9.c | 38 uint16_t source_id, client_id, pasid, vmid; local in function:event_interrupt_isr_v9 49 pasid = SOC15_PASID_FROM_IH_ENTRY(ih_ring_entry); 51 /* This is a known issue for gfx9. Under non HWS, pasid is not set 52 * in the interrupt payload, so we need to find out the pasid on our 55 if (!pasid && dev->dqm->sched_policy == KFD_SCHED_POLICY_NO_HWS) { 62 pasid = dev->dqm->vmid_pasid[vmid]; 64 /* Patch the pasid field */ 66 & ~pasid_mask) | pasid); 69 pr_debug("client id 0x%x, source id %d, vmid %d, pasid 0x%x. raw data:\n", 70 client_id, source_id, vmid, pasid); 94 uint16_t source_id, client_id, pasid, vmid; local in function:event_interrupt_wq_v9 [all...] |
kfd_pm4_headers.h | 60 uint32_t pasid:16; member in struct:pm4_map_process::__anon7e5272bb030a::__anon7e5272bb0408 109 uint32_t pasid:16; member in struct:pm4_map_process_scratch_kv::__anon7e5272bb0a0a::__anon7e5272bb0b08
|
kfd_dbgmgr.h | 280 unsigned int pasid; member in struct:kfd_dbgmgr
|
kfd_pm4_headers_diq.h | 72 unsigned int pasid:10; member in struct:pm4__indirect_buffer_pasid::__anone5b337d8080a::__anone5b337d80908
|
kfd_pm4_headers_vi.h | 155 uint32_t pasid:16; member in struct:pm4_mes_map_process::__anonf77bdfd9110a::__anonf77bdfd91208 306 uint32_t pasid:16; member in struct:pm4_mes_query_status::__anonf77bdfd91f0a::__anonf77bdfd92008 370 uint32_t pasid:16; member in struct:pm4_mes_unmap_queues::__anonf77bdfd9250a::__anonf77bdfd92608
|
kfd_pm4_headers_ai.h | 149 uint32_t pasid:16; member in struct:pm4_mes_map_process::__anonf7705be40f0a::__anonf7705be41008 349 uint32_t pasid:16; member in struct:pm4_mes_query_status::__anonf7705be41c0a::__anonf7705be41d08 417 uint32_t pasid:16; member in struct:pm4_mes_unmap_queues::__anonf7705be4220a::__anonf7705be42308
|
kfd_priv.h | 652 /* Is this process/pasid bound to this device? (amd_iommu_bind_pasid) */ 690 uint16_t pasid; member in struct:kfd_process 764 struct kfd_process *kfd_lookup_process_by_pasid(unsigned int pasid); 806 void kfd_pasid_free(unsigned int pasid); 889 int kfd_process_vm_fault(struct device_queue_manager *dqm, unsigned int pasid); 1009 void kfd_signal_event_interrupt(unsigned int pasid, uint32_t partial_id, 1012 unsigned int pasid, unsigned long address, 1014 void kfd_signal_hw_exception_event(unsigned int pasid); 1025 void kfd_signal_vm_fault_event(struct kfd_dev *dev, unsigned int pasid,
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_ids.h | 63 unsigned pasid; member in struct:amdgpu_vmid 76 void amdgpu_pasid_free(unsigned int pasid); 78 unsigned int pasid);
|
amdgpu_ids.c | 40 * PASID manager 44 * may use the same PASID if they share the same address 46 * looked up from the PASID per amdgpu_device. 54 /* Helper to free pasid from a fence callback */ 57 unsigned int pasid; member in struct:amdgpu_pasid_cb 61 * amdgpu_pasid_alloc - Allocate a PASID 62 * @bits: Maximum width of the PASID in bits, must be at least 1 64 * Allocates a PASID of the given width while keeping smaller PASIDs 68 * Returns %-ENOSPC if no PASID was available. Returns %-ENOMEM on 73 int pasid = -EINVAL local in function:amdgpu_pasid_alloc [all...] |
amdgpu_job.h | 57 unsigned pasid; member in struct:amdgpu_job
|
amdgpu_irq.h | 56 unsigned pasid; member in struct:amdgpu_iv_entry
|
amdgpu_kms.c | 983 int r, pasid; local in function:amdgpu_driver_open_kms 1006 pasid = amdgpu_pasid_alloc(16); 1007 if (pasid < 0) { 1009 pasid = 0; 1011 r = amdgpu_vm_init(adev, &fpriv->vm, AMDGPU_VM_CONTEXT_GFX, pasid); 1042 if (pasid) 1043 amdgpu_pasid_free(pasid); 1069 unsigned int pasid; local in function:amdgpu_driver_postclose_kms 1092 pasid = fpriv->vm.pasid; [all...] |
amdgpu_vm.h | 287 unsigned int pasid; member in struct:amdgpu_vm 354 /* PASID to VM mapping, will be used in interrupt context to 377 int vm_context, unsigned int pasid); 378 int amdgpu_vm_make_compute(struct amdgpu_device *adev, struct amdgpu_vm *vm, unsigned int pasid); 439 void amdgpu_vm_get_task_info(struct amdgpu_device *adev, unsigned int pasid, 441 bool amdgpu_vm_handle_fault(struct amdgpu_device *adev, unsigned int pasid,
|