Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c, line 2471
- drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c, line 92
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_pci_probe() -> amdgpu_amdkfd_drm_client_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->acpi_nb.next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->acpi_nb.notifier_call | 1201103493937524736 |
| PARAM_VALUE | 0 | adev->debug_disable_ce_logs | 1 |
| PARAM_VALUE | 0 | adev->debug_disable_gpu_ring_reset | 1 |
| PARAM_VALUE | 0 | adev->debug_disable_ip_block_soft_reset | 1 |
| PARAM_VALUE | 0 | adev->debug_disable_soft_recovery | 1 |
| PARAM_VALUE | 0 | adev->debug_enable_ce_cs | 1 |
| PARAM_VALUE | 0 | adev->debug_exp_resets | 1 |
| PARAM_VALUE | 0 | adev->debug_hibernation_thaw_resume_gpu | 1 |
| PARAM_VALUE | 0 | adev->debug_largebar | 1 |
| PARAM_VALUE | 0 | adev->debug_use_vram_fw_buf | 1 |
| PARAM_VALUE | 0 | adev->debug_vm | 1 |
| PARAM_VALUE | 0 | adev->debug_vm_userptr | 1 |
| PARAM_VALUE | 0 | adev->dev | 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->flags | 262144-u64max |
| PARAM_VALUE | 0 | adev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->pm.rpm_mode | 0-4 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->mes.saved_flags | 0-4294967295 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->xcp_mgr | 0,4096-ptr_max |
| BUF_SIZE | 0 | adev->dev | 1616 |
| BUF_SIZE | 0 | adev->pdev | (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,8064 |
| CAPPED_DATA | 0 | adev->pdev->device | 1 |
| DATA_SOURCE | 0 | adev | r __devm_drm_dev_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->pdev->current_state | 0-3[c] |
drivers/gpu/drm/amd/amdgpu/amdgpu_reset.c amdgpu_reset_xgmi_reset_on_init_restore_hwctxt() -> amdgpu_amdkfd_drm_client_create()
| 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.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,4672,148606482432692224,436469935444291584,457356038048772096 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->kfd.dev->num_nodes | 0-255 |
| PARAM_VALUE | 0 | adev->kfd.dev->profiler_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->kfd.dev->profiler_process | 0 |
| PARAM_VALUE | 0 | adev->kfd.dev->shared_resources.gpuvm_size | 0,4096-72057594037927936 |
| 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 |