| /linux/drivers/firmware/arm_ffa/ |
| H A D | driver.c | 102 u16 vm_id; member 465 static int ffa_id_get(u16 *vm_id) in ffa_id_get() argument 476 *vm_id = FIELD_GET(VM_ID_MASK, (id.a2)); in ffa_id_get() 532 u32 src_dst_ids = PACK_TARGET_INFO(src_id, dev->vm_id); in ffa_msg_send2() 724 mem_region->sender_id = drv_info->vm_id; in ffa_setup_and_transmit() 848 .a1 = drv_info->vm_id, .a2 = vcpu_count, in ffa_notification_bitmap_create() 863 .a1 = drv_info->vm_id, in ffa_notification_bitmap_destroy() 923 u32 func, src_dst_ids = PACK_TARGET_INFO(dst_id, drv_info->vm_id); in ffa_notification_bind_common() 970 u16 src_id = drv_info->vm_id; in ffa_notification_get() 1117 u32 target = dev->vm_id << 1 in ffa_run() 1290 ffa_notify_type_get(u16 vm_id) ffa_notify_type_get() argument 1753 ffa_setup_host_partition(int vm_id) ffa_setup_host_partition() argument [all...] |
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_vm.c | 179 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_grab_id() local 185 if (vm_id->id && vm_id->last_id_use && in radeon_vm_grab_id() 186 vm_id->last_id_use == rdev->vm_manager.active[vm_id->id]) in radeon_vm_grab_id() 190 vm_id->pd_gpu_addr = ~0ll; in radeon_vm_grab_id() 198 vm_id->id = i; in radeon_vm_grab_id() 211 vm_id->id = choices[i]; in radeon_vm_grab_id() 239 struct radeon_vm_id *vm_id = &vm->ids[ring]; in radeon_vm_flush() local 241 if (pd_addr != vm_id->pd_gpu_addr || !vm_id->flushed_updates || in radeon_vm_flush() 242 radeon_fence_is_earlier(vm_id->flushed_updates, updates)) { in radeon_vm_flush() 245 radeon_fence_unref(&vm_id->flushed_updates); in radeon_vm_flush() [all …]
|
| H A D | si_dma.c | 187 unsigned vm_id, uint64_t pd_addr) in si_dma_vm_flush() argument 191 if (vm_id < 8) { in si_dma_vm_flush() 192 radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2)); in si_dma_vm_flush() 194 …radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> … in si_dma_vm_flush() 206 radeon_ring_write(ring, 1 << vm_id); in si_dma_vm_flush() 212 radeon_ring_write(ring, 1 << vm_id); /* mask */ in si_dma_vm_flush()
|
| H A D | ni_dma.c | 125 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_dma_ring_ib_execute() local 143 radeon_ring_write(ring, DMA_IB_PACKET(DMA_PACKET_INDIRECT_BUFFER, vm_id, 0)); in cayman_dma_ring_ib_execute() 449 unsigned vm_id, uint64_t pd_addr) in cayman_dma_vm_flush() argument 452 radeon_ring_write(ring, (0xf << 16) | ((VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2)); in cayman_dma_vm_flush() 463 radeon_ring_write(ring, 1 << vm_id); in cayman_dma_vm_flush()
|
| H A D | cik_sdma.c | 945 unsigned vm_id, uint64_t pd_addr) in cik_dma_vm_flush() argument 951 if (vm_id < 8) { in cik_dma_vm_flush() 952 radeon_ring_write(ring, (VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2)) >> 2); in cik_dma_vm_flush() 954 radeon_ring_write(ring, (VM_CONTEXT8_PAGE_TABLE_BASE_ADDR + ((vm_id - 8) << 2)) >> 2); in cik_dma_vm_flush() 961 radeon_ring_write(ring, VMID(vm_id)); in cik_dma_vm_flush() 989 radeon_ring_write(ring, 1 << vm_id); in cik_dma_vm_flush()
|
| H A D | ni.c | 1402 unsigned vm_id = ib->vm ? ib->vm->ids[ib->ring].id : 0; in cayman_ring_ib_execute() local 1425 radeon_ring_write(ring, ib->length_dw | (vm_id << 24)); in cayman_ring_ib_execute() 1432 radeon_ring_write(ring, (vm_id << 24) | 10); /* poll interval */ in cayman_ring_ib_execute() 2664 unsigned vm_id, uint64_t pd_addr) in cayman_vm_flush() argument 2666 radeon_ring_write(ring, PACKET0(VM_CONTEXT0_PAGE_TABLE_BASE_ADDR + (vm_id << 2), 0)); in cayman_vm_flush() 2675 radeon_ring_write(ring, 1 << vm_id); in cayman_vm_flush()
|
| /linux/Documentation/gpu/rfc/ |
| H A D | i915_vm_bind.h | 111 /** @vm_id: VM (address space) id to bind */ 112 __u32 vm_id; member 176 /** @vm_id: VM (address space) id to bind */ 177 __u32 vm_id; member 288 /** @vm_id: Id of the VM to which the object is private */ 289 __u32 vm_id; member
|
| /linux/Documentation/gpu/ |
| H A D | drm-vm-bind-async.rst | 268 /** @vm_id: The ID of the VM to bind to */ 269 __u32 vm_id; 273 * and exec queue must have same vm_id. If zero, the default VM bind engine
|
| /linux/drivers/tee/tstee/ |
| H A D | core.c | 51 .impl_caps = lower_16_bits(tstee->ffa_dev->vm_id), in tstee_get_version() 249 .receiver = tstee->ffa_dev->vm_id, in tstee_shm_register()
|
| /linux/drivers/mailbox/ |
| H A D | mtk-cmdq-mailbox.c | 51 #define GCE_VM_CPR_GSIZE_FLD_SHIFT(vm_id) ((vm_id) * 4) argument 147 /* only configure the max CPR SRAM size to host vm (vm_id = 0) currently */ in cmdq_vm_init()
|
| /linux/include/linux/ |
| H A D | arm_ffa.h | 137 int vm_id; member
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_vm.c | 2144 args->vm_id = id; in xe_vm_create_ioctl() 2168 vm = xa_load(&xef->vm.xa, args->vm_id); in xe_vm_destroy_ioctl() 2174 xa_erase(&xef->vm.xa, args->vm_id); in xe_vm_destroy_ioctl() 2243 vm = xe_vm_lookup(xef, args->vm_id); in xe_vm_query_vmas_attrs_ioctl() 3900 vm = xe_vm_lookup(xef, args->vm_id); in xe_vm_bind_ioctl() 4226 vm = xe_vm_lookup(xef, args->vm_id); in xe_vm_get_property_ioctl()
|
| H A D | xe_vm_madvise.c | 602 vm = xe_vm_lookup(xef, args->vm_id); in xe_vm_madvise_ioctl()
|
| /linux/include/uapi/drm/ |
| H A D | radeon_drm.h | 944 __u32 vm_id; member
|
| H A D | i915_drm.h | 2631 * Destroys a previously created VM id, specified in @vm_id. 2642 /** @vm_id: Id of the VM created or to be destroyed */ 2643 __u32 vm_id; member
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_context.c | 1847 args->vm_id = id; in i915_gem_vm_create_ioctl() 1869 vm = xa_erase(&file_priv->vm_xa, args->vm_id); in i915_gem_vm_destroy_ioctl()
|
| /linux/tools/include/uapi/drm/ |
| H A D | i915_drm.h | |
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_sched.c | 3702 group->vm = panthor_vm_pool_get_vm(pfile->vms, group_args->vm_id); in panthor_group_create()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | gfx_v9_4_3.c | 3162 value = REG_SET_FIELD(value, SQ_CMD, VM_ID, vmid); in gfx_v9_4_3_ring_soft_recovery()
|
| H A D | gfx_v9_0.c | 5998 value = REG_SET_FIELD(value, SQ_CMD, VM_ID, vmid); in gfx_v9_0_ring_soft_recovery()
|