Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_alloc_gart() -> amdgpu_ttm_gart_bind()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 tbo 4096-ptr_max
PARAM_VALUE 1 tbo->base.resv 4096-ptr_max
PARAM_VALUE 1 tbo->base.resv->fences 4096-ptr_max
PARAM_VALUE 1 tbo->base.resv->fences->num_fences 0-4294967295
PARAM_VALUE 1 tbo->resource 4096-ptr_max
PARAM_VALUE 1 tbo->resource->start 9223372036854775807
PARAM_VALUE 1 tbo->ttm 0,4096-ptr_max
PARAM_VALUE 2 flags 0,32-u64max
DATA_SOURCE 0 adev r amdgpu_ttm_adev
DATA_SOURCE 1 tbo $0
DATA_SOURCE 2 flags r amdgpu_ttm_tt_pte_flags
BIT_INFO 2 flags 0x20,0xffffffffffffffff
BIT_INFO 2 flags 0x20,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 tbo->base.size 0-u64max[c]
USER_DATA 1 tbo->base.vma_node.vm_node.size 1-s32max[c]
USER_DATA 1 tbo->base.vma_node.vm_node.start 0-s32max[c]
USER_DATA 1 tbo->page_alignment 0-u32max
HALF_LOCKED2 &crtc->mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &plane->mutex
HALF_LOCKED2 *bo->tbo.base.resv
HALF_LOCKED2 *bo_ptr->tbo.base.resv
HALF_LOCKED2 bo->tbo.base.resv
HALF_LOCKED2 new_abo->tbo.base.resv
HALF_LOCKED2 obj->tbo.base.resv
HALF_LOCKED2 rbo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_recover_gart() -> amdgpu_ttm_gart_bind()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 tbo 4096-ptr_max
PARAM_VALUE 1 tbo->resource 0,4096-ptr_max
PARAM_VALUE 1 tbo->ttm 1-u64max
PARAM_VALUE 2 flags 0,32-u64max
DATA_SOURCE 0 adev r amdgpu_ttm_adev
DATA_SOURCE 1 tbo $0
DATA_SOURCE 2 flags r amdgpu_ttm_tt_pte_flags
BIT_INFO 2 flags 0x20,0xffffffffffffffff
BIT_INFO 2 flags 0x20,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mgr->lock
TYPE_LOCK (struct amdgpu_gtt_mgr)->lock