Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c kfd_fill_gpu_direct_io_link_to_cpu() -> amdgpu_xgmi_get_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.pfp.pfp_fw_data_obj->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->gfx.pfp.pfp_fw_obj->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->gfx.rlc.rlc_toc_bo->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->num_nodes | 0-16 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.dep_map->name | 0-255 |
| 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.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->smuio.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->xcp_mgr->mem_alloc_mode | 0-1 |
| PARAM_VALUE | 0 | adev->xcp_mgr->num_xcp_per_mem_partition | 0-8 |
| PARAM_VALUE | 0 | *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | peer_adev | 0 |
| PARAM_VALUE | 2 | bw_mode | 0 |
| PARAM_VALUE | 3 | bw_unit | 1 |
| PARAM_VALUE | 4 | min_bw | 4096-ptr_max |
| PARAM_VALUE | 5 | max_bw | 4096-ptr_max |
| MEM_ZERO | 4 | min_bw | |
| MEM_ZERO | 5 | max_bw | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.real_vram_size | |
| LOCK2 | global &topology_lock | ||
| HALF_LOCKED2 | &xcp_mgr->xcp_lock |
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.c kfd_fill_gpu_xgmi_link_to_gpu() -> amdgpu_xgmi_get_bandwidth()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.pfp.pfp_fw_data_obj->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->gfx.pfp.pfp_fw_obj->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->gfx.rlc.rlc_toc_bo->tbo.bdev->pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->num_nodes | 0-16 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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.bdev.pool.dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | adev->mman.bdev.pool.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev->dev.numa_node | (-1)-s32max |
| PARAM_VALUE | 0 | adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->xcp_mgr->mem_alloc_mode | 0-1 |
| PARAM_VALUE | 0 | adev->xcp_mgr->num_xcp_per_mem_partition | 0-8 |
| PARAM_VALUE | 0 | *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 2 | bw_mode | 1 |
| PARAM_VALUE | 3 | bw_unit | 1 |
| PARAM_VALUE | 4 | min_bw | 4096-ptr_max |
| PARAM_VALUE | 5 | max_bw | 4096-ptr_max |
| MEM_ZERO | 4 | min_bw | |
| MEM_ZERO | 5 | max_bw | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.real_vram_size | |
| LOCK2 | global &topology_lock | ||
| HALF_LOCKED2 | &xcp_mgr->xcp_lock |