Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c, line 352
- drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c, line 251
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c, line 1359
- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c, line 229
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c amdgpu_jpeg_psp_update_sram() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode | 8132320616461643776 |
| PARAM_VALUE | 1 | ucode->fw | 0 |
| PARAM_VALUE | 1 | ucode->kaddr | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_hi | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_lo | 0 |
| PARAM_VALUE | 1 | ucode->ucode_id | 71 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.c amdgpu_umsch_mm_psp_execute_cmd_buf() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode | 3639999470754082816 |
| PARAM_VALUE | 1 | ucode->fw | 0 |
| PARAM_VALUE | 1 | ucode->kaddr | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_hi | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_lo | 0 |
| PARAM_VALUE | 1 | ucode->ucode_id | 69 |
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_psp_update_sram() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode | 3432206853352013824 |
| PARAM_VALUE | 1 | ucode->fw | 0 |
| PARAM_VALUE | 1 | ucode->kaddr | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_hi | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_lo | 0 |
| PARAM_VALUE | 1 | ucode->ucode_id | 61-62 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c amdgpu_vpe_psp_update_sram() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode | 5270988489603416064 |
| PARAM_VALUE | 1 | ucode->fw | 0 |
| PARAM_VALUE | 1 | ucode->kaddr | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_hi | 0 |
| PARAM_VALUE | 1 | ucode->tmr_mc_addr_lo | 0 |
| PARAM_VALUE | 1 | ucode->ucode_id | 66 |
| PARAM_VALUE | 1 | ucode->ucode_size | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_load_fw_list() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | ucode | 4096-ptr_max |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hive->hive_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &tmp_adev->reset_domain->sem |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_load_non_psp_fw() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->firmware.max_ucodes | 1-u32max |
| PARAM_VALUE | 0 | psp->adev->firmware.ucode | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | ucode | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode->fw | 1-u64max |
| PARAM_VALUE | 1 | ucode->ucode_id | 0-69,71-u32max |
| PARAM_VALUE | 1 | ucode->ucode_size | 1-u32max |
| DATA_SOURCE | 0 | psp | $0 |
| FUZZY_MAX | 1 | ucode->ucode_id | 52 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_load_p2s_table() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->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 | psp->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 | psp->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 | psp->adev->firmware.ucode | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | ucode | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode->fw | 1-u64max |
| BUF_SIZE | 1 | ucode | 144 |
| BUF_SIZE | 1 | ucode | 144 |
| DATA_SOURCE | 0 | psp | $0 |
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c psp_load_smu_fw() -> psp_execute_ip_fw_load()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | psp | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->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 | psp->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 | psp->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 | psp->adev->firmware.ucode | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->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,290,488 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain | 4096-ptr_max |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | psp->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_dbg_drv | 0,2465237630769131520,3397600854310572032,6710026658707533824 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_intf_drv | 0,893651119209353216,3441620918934929408,4995333456089366528 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ipkeymgr_drv | 0,920095719846940672 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_kdb | 0,2792345310007861248,6451911401701834752,8794356246076211200,9043524584978911232 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_ras_drv | 0,4681337037008044032,8126813935377756160 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_soc_drv | 0,3337099692364759040,5300821424090451968,6732923516025434112 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sos | 0,1040494957260591104,1637566750523367424,4806946119810498560,6459812653648613376,7858323642333913088,8984455442092228608 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spdm_drv | 0,4428223074578829312 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_spl | 0,1090628093507633152,4027073469825003520,6759431206230638592,7078441006602444800 |
| PARAM_VALUE | 0 | psp->funcs->bootloader_load_sysdrv | 0,1847048533432950784,3628286508802412544,4250887232983580672,4777983195084800000,6349031031274954752,9123753257111609344 |
| PARAM_VALUE | 1 | ucode | 4096-ptr_max |
| PARAM_VALUE | 1 | ucode->fw | 1-u64max |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 0 | psp | (-1),4848 |
| BUF_SIZE | 1 | ucode | 1008 |
| BUF_SIZE | 1 | ucode | 1008 |
| DATA_SOURCE | 0 | psp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | psp->adev->mman.gtt_mgr.mm.head_node.size | 0-u64max |
| HOST_DATA | 0 | psp->adev->mman.preempt_mgr.size | 1073741824[c] |
| HOST_DATA | 0 | psp->sos.fw_version | 0-u32max |
| HALF_LOCKED2 | &adev->firmware.mutex |