Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_alloc_gart() -> amdgpu_ttm_tt_pte_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ttm | 0,4096-ptr_max |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_backend_bind() -> amdgpu_ttm_tt_pte_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ttm | 4096-ptr_max |
| PARAM_VALUE | 2 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | mem->mem_type | 1 |
| BUF_SIZE | 1 | ttm | (-1),64 |
| BUF_SIZE | 1 | ttm | (-1),64 |
| BUF_SIZE | 1 | ttm->sg | (-1),16 |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| DATA_SOURCE | 1 | ttm | $1 |
| DATA_SOURCE | 2 | mem | $2 |
| NOSPEC | 1 | ttm->num_pages | |
| NOSPEC | 2 | mem->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | ttm->num_pages | 0-u32max[c] |
| USER_DATA | 2 | mem->bo->base.size | 0-u64max[c] |
| USER_DATA | 2 | mem->bo->base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 2 | mem->bo->base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 2 | mem->bo->page_alignment | 0-u32max |
| USER_DATA | 2 | mem->size | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | ttm->cached_rsgt.size | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->dma_ttm.sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->gobj->size | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->sg->orig_nents | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->ttm.num_pages | |
| NO_OVERFLOW_SIMPLE | 1 | ttm->ttm.sg->orig_nents | |
| HALF_LOCKED2 | bo->base.resv |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_map_buffer() -> amdgpu_ttm_tt_pte_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 2 | mem | 4096-ptr_max |
| PARAM_VALUE | 2 | mem->mem_type | 0-5,7-u32max |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| DATA_SOURCE | 2 | mem | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &entity->lock | ||
| TYPE_LOCK | (struct amdgpu_ttm_buffer_entity)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_recover_gart() -> amdgpu_ttm_tt_pte_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ttm | 1-u64max |
| DATA_SOURCE | 0 | adev | r amdgpu_ttm_adev |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mgr->lock | ||
| TYPE_LOCK | (struct amdgpu_gtt_mgr)->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c amdgpu_vm_bo_update() -> amdgpu_ttm_tt_pte_flags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mem | 0,4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &process_info->lock |