Lines Matching refs:vmid
613 uint32_t vmid) in gmc_v8_0_flush_gpu_tlb() argument
616 WREG32(mmVM_INVALIDATE_REQUEST, 1 << vmid); in gmc_v8_0_flush_gpu_tlb()
620 unsigned vmid, uint64_t pd_addr) in gmc_v8_0_emit_flush_gpu_tlb() argument
624 if (vmid < 8) in gmc_v8_0_emit_flush_gpu_tlb()
625 reg = mmVM_CONTEXT0_PAGE_TABLE_BASE_ADDR + vmid; in gmc_v8_0_emit_flush_gpu_tlb()
627 reg = mmVM_CONTEXT8_PAGE_TABLE_BASE_ADDR + vmid - 8; in gmc_v8_0_emit_flush_gpu_tlb()
631 amdgpu_ring_emit_wreg(ring, mmVM_INVALIDATE_REQUEST, 1 << vmid); in gmc_v8_0_emit_flush_gpu_tlb()
636 static void gmc_v8_0_emit_pasid_mapping(struct amdgpu_ring *ring, unsigned vmid, in gmc_v8_0_emit_pasid_mapping() argument
639 amdgpu_ring_emit_wreg(ring, mmIH_VMID_0_LUT + vmid, pasid); in gmc_v8_0_emit_pasid_mapping()
983 u32 vmid = REG_GET_FIELD(status, VM_CONTEXT1_PROTECTION_FAULT_STATUS, VMID); in gmc_v8_0_vm_decode_fault() local
994 protections, vmid, pasid, addr, in gmc_v8_0_vm_decode_fault()
1425 u32 addr, status, mc_client, vmid; in gmc_v8_0_process_interrupt() local
1462 vmid = REG_GET_FIELD(status, VM_CONTEXT1_PROTECTION_FAULT_STATUS, in gmc_v8_0_process_interrupt()
1464 if (amdgpu_amdkfd_is_kfd_vmid(adev, vmid) in gmc_v8_0_process_interrupt()
1471 info->vmid = vmid; in gmc_v8_0_process_interrupt()