| /linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/ |
| H A D | dcn21_hubp.h | 91 HUBP_SF(HUBPREQ0_VMID_SETTINGS_0, VMID, mask_sh),\
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_amdkfd_gfx_v7.c | 51 uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); in lock_srbm() 561 return REG_GET_FIELD(status, VM_CONTEXT1_PROTECTION_FAULT_STATUS, VMID); in read_vmid_from_vmfault_reg()
|
| H A D | vid.h | 72 #define VMID(x) ((x) << 4) macro
|
| H A D | gfx_v11_0.c | 433 PACKET3_MAP_QUEUES_VMID(0) | /* VMID */ in gfx11_kiq_unmap_queues() 2649 tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_mec_cache() 2693 tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_pfp_cache_rs64() 2768 tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_pfp_cache_rs64() 2849 tmp = REG_SET_FIELD(tmp, CP_GFX_RS64_DC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_me_cache_rs64() 2890 tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_me_cache_rs64() 2972 tmp = REG_SET_FIELD(tmp, CP_GFX_RS64_DC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_mec_cache_rs64() 3008 tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_mec_cache_rs64() 3014 tmp = REG_SET_FIELD(tmp, CP_MEC_DC_BASE_CNTL, VMID, 0); in gfx_v11_0_config_mec_cache_rs64() 3383 tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, in gfx_v11_0_cp_gfx_load_pfp_microcode_rs64() [all...] |
| H A D | amdgpu_amdkfd_gfx_v10.c | 241 * that wptr is GPU-accessible in the queue's VMID via in kgd_hqd_load() 319 PACKET3_MAP_QUEUES_VMID(m->cp_hqd_vmid) | /* VMID */ in kgd_hiq_mqd_load() 705 pr_err("trying to set page table base for wrong VMID %u\n", in set_vm_context_page_table_base() 718 * Target VMID to stall/unstall. 907 VMID, in kgd_gfx_v10_set_address_watch() 921 VMID, in kgd_gfx_v10_set_address_watch() 1125 * Program GRBM with appropriate MEID, PIPEID, QUEUEID and VMID 1158 * in which case a VMID could be remapped to a different PASID. This could lead
|
| H A D | soc24.c | 108 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, VMID, vmid); in soc24_grbm_select()
|
| H A D | gfx_v12_0.c | 335 PACKET3_MAP_QUEUES_VMID(0) | /* VMID */ in gfx_v12_0_kiq_map_queues() 2461 tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2515 tmp = REG_SET_FIELD(tmp, CP_GFX_RS64_DC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64() 2605 tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2660 tmp = REG_SET_FIELD(tmp, CP_GFX_RS64_DC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_gfx_load_me_microcode_rs64() 2916 tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_compute_load_microcode_rs64() 2922 tmp = REG_SET_FIELD(tmp, CP_MEC_DC_BASE_CNTL, VMID, 0); in gfx_v12_0_cp_compute_load_microcode_rs64() 3033 tmp = REG_SET_FIELD(tmp, CP_GFX_MQD_CONTROL, VMID, 0); in gfx_v12_0_gfx_mqd_init() 3040 tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_VMID, VMID, 0); in gfx_v12_0_gfx_mqd_init() 3247 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, in gfx_v12_0_compute_mqd_init() [all...] |
| H A D | umsch_mm_v4_0.c | 84 data = REG_SET_FIELD(data, VCN_MES_IC_BASE_CNTL, VMID, 0); in umsch_mm_v4_0_load_microcode()
|
| H A D | amdgpu_amdkfd_gfx_v8.c | 45 uint32_t value = PIPEID(pipe) | MEID(mec) | VMID(vmid) | QUEUEID(queue); in lock_srbm()
|
| H A D | mes_v11_0.c | 719 /* Userq VMIDs are assigned by MES; KGQ uses the supplied IB VMID. */ in mes_v11_0_reset_queue_mmio() 722 vmid = REG_GET_FIELD(value, CP_GFX_HQD_VMID, VMID); in mes_v11_0_reset_queue_mmio() 1601 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in mes_v11_0_queue_init() 1675 /* set CP_HQD_VMID.VMID = 0. */ in mes_v11_0_kiq_ring_init() 1677 data = REG_SET_FIELD(data, CP_HQD_VMID, VMID, 0); in mes_v11_0_kiq_ring_init() 1690 /* set CP_MQD_CONTROL.VMID=0 */ in mes_v11_0_mqd_sw_init() 1692 data = REG_SET_FIELD(data, CP_MQD_CONTROL, VMID, 0); in mes_v11_0_mqd_sw_init()
|
| H A D | mes_v12_1.c | 1279 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in mes_v12_1_mqd_init() 1362 /* set CP_HQD_VMID.VMID = 0. */ in mes_v12_1_mqd_init() 1364 data = REG_SET_FIELD(data, CP_HQD_VMID, VMID, 0); in mes_v12_1_mqd_init() 1377 /* set CP_MQD_CONTROL.VMID=0 */ in mes_v12_1_queue_init_register() 1379 data = REG_SET_FIELD(data, CP_MQD_CONTROL, VMID, 0); in mes_v12_1_queue_init_register()
|
| H A D | mes_v12_0.c | 681 /* Userq VMIDs are assigned by MES; KGQ uses the supplied IB VMID. */ in mes_v12_0_reset_pipe_mmio() 684 vmid = REG_GET_FIELD(value, CP_GFX_HQD_VMID, VMID); in mes_v12_0_reset_pipe_mmio() 1671 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in mes_v12_0_kiq_enable_queue() 1752 /* set CP_HQD_VMID.VMID = 0. */ in mes_v12_0_ring_init() 1754 data = REG_SET_FIELD(data, CP_HQD_VMID, VMID, 0); in mes_v12_0_ring_init() 1767 /* set CP_MQD_CONTROL.VMID=0 */ in mes_v12_0_kiq_ring_init() 1769 data = REG_SET_FIELD(data, CP_MQD_CONTROL, VMID, 0); in mes_v12_0_kiq_ring_init()
|
| H A D | soc21.c | 276 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, VMID, vmid); in soc21_grbm_select()
|
| H A D | amdgpu_amdkfd_gfx_v9.c | 118 * for ATC add 16 to VMID for mmhub, for IH different registers. in kgd_gfx_v9_set_pasid_vmid_mapping() 257 * that wptr is GPU-accessible in the queue's VMID via in kgd_gfx_v9_hqd_load() 332 PACKET3_MAP_QUEUES_VMID(m->cp_hqd_vmid) | /* VMID */ in kgd_gfx_v9_hiq_mqd_load() 657 * Target VMID to stall/unstall. 839 VMID, in kgd_gfx_v9_set_address_watch() 919 pr_err("trying to set page table base for wrong VMID %u\n", in kgd_gfx_v9_set_vm_context_page_table_base() 944 * a particular queue. The method also returns the VMID associated with the 960 * Program GRBM with appropriate MEID, PIPEID, QUEUEID and VMID in get_wave_count() 961 * parameters to read out waves in flight. Get VMID if there are in get_wave_count() 993 * in which case a VMID coul [all...] |
| H A D | gfx_v12_1.c | 2140 tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in gfx_v12_1_config_gfx_rs64() 2146 tmp = REG_SET_FIELD(tmp, CP_MEC_DC_BASE_CNTL, VMID, 0); in gfx_v12_1_config_gfx_rs64() 2289 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in gfx_v12_1_init_cp_compute_microcode_bo()
|
| H A D | vi.c | 573 * @vmid: VMID 576 * registers are instanced per VMID, others are instanced per 585 srbm_gfx_cntl = REG_SET_FIELD(srbm_gfx_cntl, SRBM_GFX_CNTL, VMID, vmid); in vi_srbm_select()
|
| H A D | gfx_v10_0.c | 3751 PACKET3_MAP_QUEUES_VMID(0) | /* VMID */ in gfx10_kiq_map_queues() 6173 tmp = REG_SET_FIELD(tmp, CP_PFP_IC_BASE_CNTL, VMID, 0); in gfx_v10_0_cp_gfx_load_pfp_microcode() 6251 tmp = REG_SET_FIELD(tmp, CP_CE_IC_BASE_CNTL, VMID, 0); in gfx_v10_0_cp_gfx_load_ce_microcode() 6328 tmp = REG_SET_FIELD(tmp, CP_ME_IC_BASE_CNTL, VMID, 0); in gfx_v10_0_cp_gfx_load_me_microcode() 6795 tmp = REG_SET_FIELD(tmp, CP_GFX_MQD_CONTROL, VMID, 0); in gfx_v10_0_gfx_mqd_init() 6802 tmp = REG_SET_FIELD(tmp, CP_GFX_HQD_VMID, VMID, 0); in gfx_v10_0_gfx_mqd_init() 6978 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in gfx_v10_0_compute_mqd_init()
|
| H A D | gfx_v9_4_3.c | 227 PACKET3_MAP_QUEUES_VMID(0) | /* VMID */ in gfx_v9_4_3_kiq_map_queues() 1728 tmp = REG_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in gfx_v9_4_3_xcc_cp_compute_load_microcode() 1848 tmp = REG_SET_FIELD(tmp, CP_MQD_CONTROL, VMID, 0); in gfx_v9_4_3_xcc_mqd_init()
|
| /linux/Documentation/trace/coresight/ |
| H A D | coresight-etm4x-reference.rst | 461 Automatically clears masked bytes to 0 in VMID value registers. 466 Where mN represents a byte mask value for VMID comparator N. 468 VMID comparators. 475 Number of VMID comparators
|
| H A D | coresight-cpu-debug.rst | 188 …esight-cpu-debug 850000.debug: EDVIDSR: 90000000 (State:Non-secure Mode:EL1/0 Width:64bits VMID:0) 193 …esight-cpu-debug 852000.debug: EDVIDSR: 90000000 (State:Non-secure Mode:EL1/0 Width:64bits VMID:0)
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | cik_sdma.c | 961 radeon_ring_write(ring, VMID(vm_id)); in cik_dma_vm_flush() 981 radeon_ring_write(ring, VMID(0)); in cik_dma_vm_flush()
|
| H A D | nid.h | 61 #define VMID(x) (((x) & 0x7) << 0) macro
|
| H A D | cikd.h | 447 #define VMID(x) ((x) << 4) macro
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
| H A D | smu8_smumgr.c | 200 tmp = PHM_SET_FIELD(tmp, CP_CPC_IC_BASE_CNTL, VMID, 0); in smu8_load_mec_firmware()
|
| /linux/drivers/iommu/ |
| H A D | msm_iommu_hw-8xxx.h | 191 #define SET_VMID(b, n, v) SET_GLOBAL_FIELD(b, (n<<2)|(M2VCBR_N), VMID, v) 309 #define GET_VMID(b, n) GET_GLOBAL_FIELD(b, (n<<2)|(M2VCBR_N), VMID) 919 #define VMID (VMID_MASK << VMID_SHIFT) macro
|