Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c, line 923
- drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c, line 1510
- drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c, line 1020
- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c, line 382
- drivers/gpu/drm/amd/amdgpu/mes_userqueue.c, line 50
- drivers/gpu/drm/amd/amdkfd/kfd_svm.c, line 1595
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c amdgpu_driver_open_kms() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->delayed.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->evicting | 0 |
| PARAM_VALUE | 0 | vm->eviction_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->generation | 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320 |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->immediate.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->last_tlb_flush | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_unlocked | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_update | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->pasid | 0-s32max |
| PARAM_VALUE | 0 | vm->root.bo | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vm->update_funcs | 85864505331179520,898041574914170880 |
| PARAM_VALUE | 1 | exec | 5633761809167060992 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_parser_bos() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 1894173549278507128 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0 |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 2-5,7-2147483658 |
| MEM_ZERO | 1 | exec | |
| UNITS | 2 | num_fences | unit_page |
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_map_static_csa() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->delayed.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->evicting | 0 |
| PARAM_VALUE | 0 | vm->eviction_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->generation | 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320 |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->immediate.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->last_tlb_flush | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_unlocked | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_update | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->pasid | 1-s32max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->update_funcs | 85864505331179520,898041574914170880 |
| PARAM_VALUE | 1 | exec | 2897679495848677376 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 1 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 0 |
| DATA_SOURCE | 0 | vm | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_csa.c amdgpu_unmap_static_csa() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 4849639417184624640 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 0 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 0 |
| DATA_SOURCE | 0 | vm | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/mes_userqueue.c mes_userq_create_wptr_mapping() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->va.rb_root.rb_node | 1-u64max |
| PARAM_VALUE | 1 | exec | 6245875755690721280 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 1 |
| BUF_SIZE | 0 | vm | 3552 |
| BUF_SIZE | 0 | vm | 3552 |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c amdgpu_userq_vm_validate_and_restore_queue() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 3973348386034331648 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 1 |
| BUF_SIZE | 0 | vm | 3584 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_svm.c svm_range_reserve_bos() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 4096-ptr_max |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 0-1 |
| PARAM_VALUE | 2 | num_fences | 2 |
| BUF_SIZE | 0 | vm | 3584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &prange->migrate_mutex | ||
| LOCK2 | &svms->lock | ||
| HALF_LOCKED2 | &process_info->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock | ||
| TYPE_LOCK | (struct svm_range)->migrate_mutex | ||
| TYPE_LOCK | (struct svm_range_list)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_close() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 2115488950255980544 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 2 | num_fences | 0 |
| BUF_SIZE | 0 | vm | 3584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_object_open() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 3454694963553497088 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 2 | num_fences | 0 |
| BUF_SIZE | 0 | vm | 3584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->object_name_lock | ||
| HALF_LOCKED2 | &file_priv->driver_priv->mutex | ||
| HALF_LOCKED2 | &file_priv->prime.lock | ||
| HALF_LOCKED2 | &obj->dev->object_name_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_op_ioctl() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 3435033550472097792 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 2 | num_fences | 0 |
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c amdgpu_gem_va_ioctl() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 313723410214711296 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 2 | num_fences | 2 |
| HALF_LOCKED2 | gobj->resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_restore_process_bos() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 6956269716063203328 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 2 | num_fences | 2 |
| CAPPED_DATA | 0 | &vm->vm_list_node | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &process_info->lock | ||
| HALF_LOCKED2 | global &kfd_processes_mutex | ||
| HALF_LOCKED2 | global &kfd_processes_srcu | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c reserve_bo_and_cond_vms() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 7289464868252459008,8775286299589054464 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 3 |
| PARAM_VALUE | 2 | num_fences | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mem->lock | ||
| HALF_LOCKED2 | &p->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c reserve_bo_and_vm() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 8503647982346326016 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 1 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 2 |
| BUF_SIZE | 0 | vm | 3552 |
| BUF_SIZE | 0 | vm | 3552 |
| DATA_SOURCE | 0 | vm | $1 |
| LOCK2 | &mem->lock | ||
| LOCK2 | &mem->process_info->lock | ||
| LOCK2 | &p->mutex | ||
| HALF_LOCKED2 | &gobj->dev->object_name_lock | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock | ||
| TYPE_LOCK | (struct kfd_process)->mutex | ||
| TYPE_LOCK | (struct kgd_mem)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c validate_invalid_user_pages() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 6843458278317678592 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 0 |
| PARAM_VALUE | 2 | num_fences | 2 |
| CAPPED_DATA | 0 | &vm->vm_list_node | 1 |
| LOCK2 | &process_info->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdkfd_process_info)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c amdgpu_userq_fence_read_wptr() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | exec | 6456839220191858688 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 2 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 1 |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_map() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->always_valid.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->delayed.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->delayed.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->evicting | 0 |
| PARAM_VALUE | 0 | vm->eviction_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->freed.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->generation | 0,4294967296-9223372032559808512,9223372036854775808-18446744069414584320 |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.done | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.entity_idle.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.job_queue.tail.counter | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | vm->immediate.list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.rq | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->immediate.stats | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->individual.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.evicted.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.evicted.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.idle.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.idle.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.needs_update.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->kernel.needs_update.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->last_tlb_flush | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_unlocked | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->last_update | 7374952732141793280 |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->lru_bulk_move.cursor_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->pasid | 1-s32max |
| PARAM_VALUE | 0 | vm->root.bo | 4096-ptr_max |
| PARAM_VALUE | 0 | vm->update_funcs | 85864505331179520,898041574914170880 |
| PARAM_VALUE | 1 | exec | 6900548465721663488 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 1 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 0 |
| DATA_SOURCE | 0 | vm | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_seq64.c amdgpu_seq64_unmap() -> amdgpu_vm_lock_pd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vm | 4096-ptr_max |
| PARAM_VALUE | 1 | exec | 2834707884720107520 |
| PARAM_VALUE | 1 | exec->contended | 0 |
| PARAM_VALUE | 1 | exec->flags | 0 |
| PARAM_VALUE | 1 | exec->num_objects | 0 |
| PARAM_VALUE | 1 | exec->objects | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | exec->prelocked | 0 |
| PARAM_VALUE | 1 | exec->ticket.acquired | 0 |
| PARAM_VALUE | 1 | exec->ticket.contending_lock | 0 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_countdown | 0-15 |
| PARAM_VALUE | 1 | exec->ticket.deadlock_inject_interval | 1 |
| PARAM_VALUE | 1 | exec->ticket.done_acquire | 0 |
| PARAM_VALUE | 1 | exec->ticket.wounded | 0 |
| PARAM_VALUE | 1 | exec->ticket.ww_class | 8825623990767841280 |
| PARAM_VALUE | 2 | num_fences | 0 |
| BUF_SIZE | 0 | vm | 3584 |
| RX_PATH | |||
| TASK_NOT_RUNNING |