Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_copy_buffer() -> amdgpu_ttm_job_submit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_index 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 adev->mman.buffer_funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs_scheds 4096-ptr_max
PARAM_VALUE 1 entity 4096-ptr_max
PARAM_VALUE 1 entity->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 entity->lock.wait_lock.owner (-1)
PARAM_VALUE 1 entity->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 job 4096-ptr_max
PARAM_VALUE 2 job->num_ibs 1
PARAM_VALUE 2 job->vm_needs_flush 0-1
PARAM_VALUE 3 num_dw 0,8-u32max
BUF_SIZE 0 adev s32min-(-1),1-s32max
BUF_SIZE 0 adev s32min-(-1),1-s32max
BUF_SIZE 1 entity (-1),5568
BUF_SIZE 1 entity (-1),5568
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 entity $1
BIT_INFO 3 num_dw 0x0,0xfffffff8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 num_dw 0,8-134217720[c]
NO_OVERFLOW_SIMPLE 0 adev->gmc.real_vram_size
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 0 &adev->benchmark_mutex
HALF_LOCKED2 0 &adev->mman.default_entity.lock
HALF_LOCKED2 1 &entity->lock
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_access_memory_sdma() -> amdgpu_ttm_job_submit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs_enabled 1
PARAM_VALUE 0 adev->mman.default_entity.lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.default_entity.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->mman.default_entity.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->mman.default_entity.lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->mman.default_entity.lock.wait_lock.owner (-1)
PARAM_VALUE 0 adev->mman.default_entity.lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adev->mman.sdma_access_bo 4096-ptr_max
PARAM_VALUE 0 adev->mman.sdma_access_bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 adev->mman.sdma_access_ptr 1-u64max
PARAM_VALUE 1 entity 4096-ptr_max
PARAM_VALUE 1 entity->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 entity->lock.wait_lock.owner (-1)
PARAM_VALUE 1 entity->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 job 4096-ptr_max
PARAM_VALUE 2 job->base.cb.func 0
PARAM_VALUE 2 job->base.cb.node.next 0
PARAM_VALUE 2 job->base.cb.node.prev 0
PARAM_VALUE 2 job->base.credits 1
PARAM_VALUE 2 job->base.dependencies.xa_flags 33554436
PARAM_VALUE 2 job->base.dependencies.xa_head 0
PARAM_VALUE 2 job->base.entity_stats 0
PARAM_VALUE 2 job->base.finish_cb.func 0
PARAM_VALUE 2 job->base.finish_cb.node.next 0
PARAM_VALUE 2 job->base.finish_cb.node.prev 0
PARAM_VALUE 2 job->base.karma.counter 0
PARAM_VALUE 2 job->base.last_dependency 0
PARAM_VALUE 2 job->base.queue_node.next 0
PARAM_VALUE 2 job->base.s_priority 0
PARAM_VALUE 2 job->base.sched 0
PARAM_VALUE 2 job->base.work.data.counter 0
PARAM_VALUE 2 job->base.work.entry.next 0
PARAM_VALUE 2 job->base.work.entry.prev 0
PARAM_VALUE 2 job->base.work.func 0
PARAM_VALUE 2 job->ibs 4096-ptr_max
PARAM_VALUE 2 job->num_ibs 1
PARAM_VALUE 2 job->vm 0
PARAM_VALUE 2 job->vm_pd_addr s64max
PARAM_VALUE 3 num_dw 0,8-u32max
CAPPED_DATA 0 &adev->mman.default_entity.lock 1
DATA_SOURCE 0 adev r amdgpu_ttm_adev
BIT_INFO 3 num_dw 0x0,0xfffffff8
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 job->base.entity->num_sched_list
LOCK2 bo->base.resv
LOCK2 global &drm_unplug_srcu
LOCK2 0 &adev->mman.default_entity.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_fill_mem() -> amdgpu_ttm_job_submit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs 4096-ptr_max
PARAM_VALUE 1 entity 4096-ptr_max
PARAM_VALUE 1 entity->lock.dep_map->name 0-255
PARAM_VALUE 1 entity->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 entity->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 entity->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 entity->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 entity->lock.wait_lock.owner (-1)
PARAM_VALUE 1 entity->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 job 4096-ptr_max
PARAM_VALUE 2 job->num_ibs 1
PARAM_VALUE 2 job->vm_needs_flush 1
PARAM_VALUE 3 num_dw 0,8-u32max
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 entity $1
BIT_INFO 3 num_dw 0x0,0xfffffff8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 num_dw 0,8-u32max[c]
LOCK2 1 &entity->lock
HALF_LOCKED2 &bo->base._resv
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_map_buffer() -> amdgpu_ttm_job_submit()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo 4096-ptr_max
PARAM_VALUE 0 adev->gart.bo->tbo.resource 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs 4096-ptr_max
PARAM_VALUE 0 adev->mman.buffer_funcs->copy_max_bytes 1048568,2097151,4194272,4194304,1073741824
PARAM_VALUE 1 entity 4096-ptr_max
PARAM_VALUE 1 entity->gart_window_offs 4096-ptr_max
PARAM_VALUE 1 entity->lock.dep_map->name 0-255
PARAM_VALUE 1 entity->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 entity->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 entity->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 entity->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 entity->lock.wait_lock.owner (-1)
PARAM_VALUE 1 entity->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 2 job 4096-ptr_max
PARAM_VALUE 2 job->base.cb.func 0
PARAM_VALUE 2 job->base.cb.node.next 0
PARAM_VALUE 2 job->base.cb.node.prev 0
PARAM_VALUE 2 job->base.credits 1
PARAM_VALUE 2 job->base.dependencies.xa_flags 33554436
PARAM_VALUE 2 job->base.dependencies.xa_head 0
PARAM_VALUE 2 job->base.entity_stats 0
PARAM_VALUE 2 job->base.finish_cb.func 0
PARAM_VALUE 2 job->base.finish_cb.node.next 0
PARAM_VALUE 2 job->base.finish_cb.node.prev 0
PARAM_VALUE 2 job->base.karma.counter 0
PARAM_VALUE 2 job->base.last_dependency 0
PARAM_VALUE 2 job->base.queue_node.next 0
PARAM_VALUE 2 job->base.s_priority 0
PARAM_VALUE 2 job->base.sched 0
PARAM_VALUE 2 job->base.work.data.counter 0
PARAM_VALUE 2 job->base.work.entry.next 0
PARAM_VALUE 2 job->base.work.entry.prev 0
PARAM_VALUE 2 job->base.work.func 0
PARAM_VALUE 2 job->ibs 4096-ptr_max
PARAM_VALUE 2 job->num_ibs 1
PARAM_VALUE 2 job->vm 0
PARAM_VALUE 2 job->vm_pd_addr s64max
PARAM_VALUE 3 num_dw 0,8-u32max
DATA_SOURCE 0 adev r amdgpu_ttm_adev
DATA_SOURCE 1 entity $0
BIT_INFO 3 num_dw 0x0,0xfffffff8
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 job->base.entity->num_sched_list
LOCK2 1 &entity->lock
TYPE_LOCK (struct amdgpu_ttm_buffer_entity)->lock