Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_clone() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 830265832814379008
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_driver_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_timeline_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->release 0,4096-ptr_max
PARAM_VALUE 1 f->ops->set_deadline 0,4096-ptr_max
PARAM_VALUE 1 f->ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 f->ops->wait 0,4096-ptr_max
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $1
LOCK2 &mem->lock
LOCK2 &p->mutex
TYPE_LOCK (struct kfd_process)->mutex
TYPE_LOCK (struct kgd_mem)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_kfd() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 7465583524680974336
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->node.node.next 0
PARAM_VALUE 1 f->node.node.prev 0
PARAM_VALUE 1 f->ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_driver_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_timeline_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->release 0,4096-ptr_max
PARAM_VALUE 1 f->ops->set_deadline 0,4096-ptr_max
PARAM_VALUE 1 f->ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 f->ops->wait 0,4096-ptr_max
PARAM_VALUE 1 f->rcu.node.node.next 0
PARAM_VALUE 1 f->rcu.node.node.prev 0
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 resv

drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c amdgpu_sync_resv() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400,2117232966934749184,4635235887628484608,5805436021692112896,7465583524680974336
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_driver_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_timeline_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->release 0,4096-ptr_max
PARAM_VALUE 1 f->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 1 f->ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 f->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &process_info->lock
HALF_LOCKED2 resv

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_p2_dependencies() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 1 f 0-ptr_max
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_sync_rings() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 1 f->ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_driver_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->get_timeline_name 0,4096-ptr_max
PARAM_VALUE 1 f->ops->release 0,4096-ptr_max
PARAM_VALUE 1 f->ops->set_deadline 0,4096-ptr_max
PARAM_VALUE 1 f->ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 f->ops->wait 0,4096-ptr_max
PARAM_VALUE 1 f->rcu.node.node.next 0
PARAM_VALUE 1 f->rcu.node.node.prev 0
PARAM_VALUE 2 flags 3264
DATA_SOURCE 1 f r amdgpu_sync_get_fence

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_vm_handling() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_vm_handling() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_vm_handling() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_cs_vm_handling() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c amdgpu_syncobj_lookup_and_add() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 1894173549278507400
PARAM_VALUE 1 f 1-u64max
PARAM_VALUE 1 f->node.node.next 0
PARAM_VALUE 1 f->node.node.prev 0
PARAM_VALUE 1 f->ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 1 f->ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 1 f->rcu.entry.next s64max
PARAM_VALUE 1 f->rcu.flags 0-4294967295
PARAM_VALUE 1 f->rcu.is_hard 0-1
PARAM_VALUE 1 f->rcu.is_lazy 0-1
PARAM_VALUE 1 f->rcu.is_queued 0-1
PARAM_VALUE 1 f->rcu.is_soft 0-1
PARAM_VALUE 2 flags 3264
MEM_ZERO 0 sync

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c amdgpu_amdkfd_gpuvm_restore_process_bos() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 2117232966934749184
PARAM_VALUE 1 f 1-u64max
PARAM_VALUE 2 flags 3264
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 unmap_bo_from_gpuvm() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct kgd_mem)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c update_gpuvm_pte() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $2
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
TYPE_LOCK (struct amdkfd_process_info)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c vm_update_pds() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 2 flags 3264
DATA_SOURCE 0 sync $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mem->lock
HALF_LOCKED2 &mem->process_info->lock
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &process_info->lock
TYPE_LOCK (struct amdkfd_process_info)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c amdgpu_vmid_grab() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 2 flags 2080
LOCK2 &id_mgr->lock
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_vmid_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c amdgpu_vmid_grab_reserved() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 2 flags 2080
LOCK2 &id_mgr->lock
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_vmid_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c amdgpu_vmid_grab_used() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 2 flags 2080
LOCK2 &id_mgr->lock
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_vmid_mgr)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_enforce_isolation() -> amdgpu_sync_fence()

Type Parameter Key Value
PARAM_VALUE 0 sync 4096-ptr_max
PARAM_VALUE 1 f 4096-ptr_max
PARAM_VALUE 2 flags 10240
LOCK2 &adev->enforce_isolation_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct amdgpu_device)->enforce_isolation_mutex