Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/pm/swsmu/smu11/sienna_cichlid_ppt.c, line 2481
- drivers/gpu/drm/amd/pm/swsmu/smu13/aldebaran_ppt.c, line 1899
- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c, line 799
- drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0_8_ppt.c, line 1370
- drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c, line 1091
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0_8_ppt.c smu_v15_0_8_get_pm_metrics() -> smu_cmn_get_smc_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | smu->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->smc_fw_state | 1,3-255 |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->get_pm_metrics | 1127810284607713280,3908509174640877568 |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->smu_table.metrics_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | smu->smu_table.tables | 4096-ptr_max |
| PARAM_VALUE | 1 | if_version | 0 |
| PARAM_VALUE | 2 | smu_version | 6538547652621164544 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0_6_ppt.c smu_v13_0_6_get_pm_metrics() -> smu_cmn_get_smc_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->asic_funcs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->hdp.funcs | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | smu->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->adev->pm.dpm_enabled | 1 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | smu->msg_ctl.smu->smc_fw_state | 1,3-255 |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->get_pm_metrics | 1127810284607713280,3908509174640877568 |
| PARAM_VALUE | 0 | smu->smu_table.tables | 4096-ptr_max |
| PARAM_VALUE | 1 | if_version | 0 |
| PARAM_VALUE | 2 | smu_version | 3756280623829839872 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_cmn_check_fw_version() -> smu_cmn_get_smc_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->check_fw_status | 797611395380764672,1873845641998884864,2378595385694564352,2697944385896550400,3716823318496649216,7087839425500860416,7176200415297613824,7280107646540476416 |
| PARAM_VALUE | 0 | smu->ppt_funcs->check_fw_version | 4463239068169105408,5481888896578539520 |
| PARAM_VALUE | 0 | smu->ppt_funcs->load_microcode | 0,2385398358992769024,4730900878424322048,5486603460290048000 |
| PARAM_VALUE | 0 | smu->smc_fw_state | 0 |
| PARAM_VALUE | 1 | if_version | 3245891512201146368 |
| PARAM_VALUE | 1 | *if_version | 255 |
| PARAM_VALUE | 2 | smu_version | 8639496469020508160 |
| PARAM_VALUE | 2 | *smu_version | 255 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c sienna_cichlid_is_mode1_reset_supported() -> smu_cmn_get_smc_version()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smu | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->pm_enabled | 1 |
| PARAM_VALUE | 0 | smu->ppt_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | smu->ppt_funcs->mode1_reset_is_support | 1188974766453473280,1277057960098955264,3943837647001792512,4385267617645010944,6362857088661954560,7101062791460954112 |
| PARAM_VALUE | 1 | if_version | 0 |
| PARAM_VALUE | 2 | smu_version | 2037275611991257088 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| BUF_SIZE | 0 | smu | 1256,3984 |
| DATA_SOURCE | 0 | smu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &hive->tb.exit_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |