Home
last modified time | relevance | path

Searched full:vmids (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_vm_helper.c31 struct vmid_usage vmids = vm_helper->hubp_vmid_usage[hubp_idx]; in vm_helper_mark_vmid_used() local
33 vmids.vmid_usage[0] = vmids.vmid_usage[1]; in vm_helper_mark_vmid_used()
34 vmids.vmid_usage[1] = 1 << pos; in vm_helper_mark_vmid_used()
/linux/arch/riscv/kvm/
H A Dvmid.c97 * We ran out of VMIDs so we increment vmid_version and in kvm_riscv_gstage_vmid_update()
98 * start assigning VMIDs from 1. in kvm_riscv_gstage_vmid_update()
100 * This also means existing VMIDs assignment to all Guest in kvm_riscv_gstage_vmid_update()
103 * running will automatically pick-up new VMIDs because will in kvm_riscv_gstage_vmid_update()
/linux/arch/arm64/kvm/
H A Dvmid.c64 * case of VMIDs. Hence, instead of marking the CPU as in flush_context()
78 * Iterate over the set of reserved VMIDs looking for a match in check_update_reserved_vmid()
116 /* We're out of VMIDs, so increment the global generation count */ in new_vmid()
121 /* We have more VMIDs than CPUs, so this will always succeed */ in new_vmid()
H A Darm.c648 * Also, the VMID allocator only preserves VMIDs that are active at the in kvm_arch_vcpu_load()
/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dqcom,rmtfs-mem.yaml43 Array of vmids of the remote processors, to set up memory protection
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ids.h33 /* maximum number of VMIDs */
H A Damdgpu_ids.c159 * VMIDs are a per VMHUB identifier for page tables handling.
586 /* manage only VMIDs not used by KFD */ in amdgpu_vmid_mgr_init()
592 /* manage only VMIDs not used by KFD */ in amdgpu_vmid_mgr_init()
H A Dgmc_v7_0.c456 * VMIDs 1-15 are used for userspace clients and are handled
607 * sets up the hw for VMIDs 1-15 which are allocated on
1051 * amdgpu graphics/compute will use VMIDs 1-7 in gmc_v7_0_sw_init()
1052 * amdkfd will use VMIDs 8-15 in gmc_v7_0_sw_init()
H A Dgmc_v8_0.c647 * VMIDs 1-15 are used for userspace clients and are handled
824 * sets up the hw for VMIDs 1-15 which are allocated on
1166 * amdgpu graphics/compute will use VMIDs 1-7 in gmc_v8_0_sw_init()
1167 * amdkfd will use VMIDs 8-15 in gmc_v8_0_sw_init()
H A Dgmc_v9_0.c797 * VMIDs 1-15 are used for userspace clients and are handled
2015 * amdgpu graphics/compute will use VMIDs 1..n-1 in gmc_v9_0_sw_init()
2016 * amdkfd will use VMIDs n..15 in gmc_v9_0_sw_init()
2019 * compute-only GPUs. On compute-only GPUs that leaves 2 VMIDs in gmc_v9_0_sw_init()
H A Damdgpu_vm.h455 /* Handling of VMIDs */
H A Damdgpu_vm.c63 * buffer. VMIDs are allocated dynamically as commands are submitted.
82 * GPU clients (i.e., engines on the GPU) use GPUVM VMIDs to access memory.
H A Damdgpu_cs.c1105 * We can't use gang submit on with reserved VMIDs when the VM changes in amdgpu_cs_vm_handling()
H A Damdgpu_drv.c771 * number of VMIDs assigned to the HWS, which is also the default.
776 "Max # processes HWS can execute concurrently when sched_policy=0 (0 = no concurrency, #VMIDs for KFD = Maximum(default))");
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dcik_event_interrupt.c65 /* Only handle interrupts from KFD VMIDs */ in cik_event_interrupt_isr()
H A Dkfd_device.c777 /* For multi-partition capable GPUs, we need special handling for VMIDs in kgd2kfd_device_init()
780 * Additionally, there are 13 VMIDs (3-15) available for KFD. To in kgd2kfd_device_init()
/linux/drivers/gpu/drm/amd/display/modules/vmid/
H A Dvmid.c62 // At this point any positions with value 0 are unused vmids, evict them in evict_vmids()
/linux/drivers/misc/
H A Dfastrpc.c835 * If subsystem VMIDs are defined in DTSI, then do in fastrpc_map_attach()
1334 /* Map if we have any heap VMIDs associated with this ADSP Static Process. */ in fastrpc_init_create_static_process()
2344 unsigned int vmids[FASTRPC_MAX_VMIDS]; in fastrpc_rpmsg_probe() local
2366 "qcom,vmids", &vmids[0], 0, FASTRPC_MAX_VMIDS); in fastrpc_rpmsg_probe()
2379 data->vmperms[i].vmid = vmids[i]; in fastrpc_rpmsg_probe()
/linux/drivers/scsi/lpfc/
H A Dlpfc.h610 FC_DEREGISTER_ALL_APP_ID /* Deregister all VMIDs */
686 #define WORKER_CHECK_INACTIVE_VMID 0x4000 /* hba: check inactive vmids */
714 u32 max_vmid; /* maximum VMIDs allowed per port */
1198 u32 cfg_max_vmid; /* maximum VMIDs allowed per port */
/linux/drivers/soc/qcom/
H A Drmtfs_mem.c249 "too many VMIDs (%d) specified! Only mapping first %d entries\n", in qcom_rmtfs_mem_probe()
/linux/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c597 /* 16-bit VMIDs live in CBA2R */ in arm_smmu_write_context_bank()
619 /* 8-bit VMIDs live in CBAR */ in arm_smmu_write_context_bank()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_vm.c45 * buffer. VMIDs are allocated dynamically as commands are submitted.
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc.h1285 /* Returns the number of vmids supported */
/linux/drivers/net/wireless/broadcom/b43/
H A Dphy_n.c3152 u16 vmids[5][4] = { in b43_nphy_workarounds_rev3plus() local
3231 vmid = vmids[min_t(u16, pdet_range, 4)]; in b43_nphy_workarounds_rev3plus()
/linux/arch/arm64/boot/dts/qcom/
H A Dsdm845.dtsi3454 qcom,vmids = <QCOM_SCM_VMID_HLOS QCOM_SCM_VMID_MSS_MSA

12