Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c, line 91
- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c, line 708
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c amdgpu_reset_xgmi_reset_on_init_restore_hwctxt() -> amdgpu_amdkfd_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->free | 0,2310049532992802816,3358397276980805632 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->hotplug | 0,1625342716005601280,5567793846584225792 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->owner | 0 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->restore | 0,1861706725695156224,8868114875781746688 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->resume | 0,3656670446935232512,4472355370684379136 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->suspend | 0,1462600372997394432,2247812519271493632 |
| PARAM_VALUE | 0 | adev->kfd.client.funcs->unregister | 1588640572157509632,2829095552055242752,6051281515802169344 |
| PARAM_VALUE | 0 | adev->kfd.init_complete | 0 |
| PARAM_VALUE | 0 | adev->kfd.pgmap.ops->folio_free | 0,1125799360645222400,2314884282337259520,3487804881100709888,4287620441410408448,4432558333617348608 |
| PARAM_VALUE | 0 | adev->kfd.pgmap.ops->folio_split | 0,5255345146419240960,5445675113818132480,7854188800798580736 |
| PARAM_VALUE | 0 | adev->kfd.pgmap.ops->memory_failure | 0,2757462696692920320,6443617840133206016 |
| PARAM_VALUE | 0 | adev->kfd.pgmap.ops->migrate_to_ram | 0,892366893655998464,2045318714023669760,8762592014959497216,9113542883503599616 |
| CAPPED_DATA | 0 | &adev->reset_list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->kfd.client.dev->num_crtcs | |
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c amdgpu_xcp_post_partition_switch() -> amdgpu_amdkfd_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.funcs->switch_partition_mode | 0,7464920116160364544 |
| PARAM_VALUE | 0 | adev->gfx.imu.funcs->switch_compute_partition | 0,4685992232287051776 |
| 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->mode_info.atom_context->io_mode | s32min-s32max |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| 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->kfd.dev->ih_wq->first_flusher->done.wait.lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *adev->kfd.dev->ih_wq->lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | *adev->kfd.dev->ih_wq->rescuer->task->delays->lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *adev->kfd.dev->ih_wq->rescuer->task->pi_lock.owner | (-4611686018427387904)-4611686018427387903 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->kfd.dev->adev->rmmio_size | |
| LOCK2 | &xcp_mgr->xcp_lock | ||
| TYPE_LOCK | (struct amdgpu_xcp_mgr)->xcp_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_gpu_resume() -> amdgpu_amdkfd_device_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.init_complete | 0 |
| 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->psp.adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->psp.adev->reset_domain->sem.first_waiter->type | 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->reset_list.next | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->virt.fw_reserve.checksum_key | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.offset | 0-u32max |
| HOST_DATA | 0 | adev->virt.init_data_header.size_kb | 0-u32max |
| HALF_LOCKED2 | &hive->hive_lock |