Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/ci_baco.c, line 159
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/fiji_baco.c, line 157
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/polaris_baco.c, line 175
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c, line 5964
- drivers/gpu/drm/amd/pm/powerplay/hwmgr/tonga_baco.c, line 179
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/tonga_baco.c tonga_baco_set_state() -> smu7_baco_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_asic_baco_state | 763391030852562944,3342709614871371776,5382379892856328192,7192726298468528128 |
| PARAM_VALUE | 0 | hwmgr->not_vf | 1 |
| PARAM_VALUE | 1 | state | 4810072840450994176 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/fiji_baco.c fiji_baco_set_state() -> smu7_baco_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_asic_baco_state | 763391030852562944,3342709614871371776,5382379892856328192,7192726298468528128 |
| PARAM_VALUE | 0 | hwmgr->not_vf | 1 |
| PARAM_VALUE | 1 | state | 407632098280923136 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/polaris_baco.c polaris_baco_set_state() -> smu7_baco_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_asic_baco_state | 763391030852562944,3342709614871371776,5382379892856328192,7192726298468528128 |
| PARAM_VALUE | 0 | hwmgr->not_vf | 1 |
| PARAM_VALUE | 1 | state | 5722465533260095488 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ci_baco.c ci_baco_set_state() -> smu7_baco_get_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->adev | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->set_asic_baco_state | 763391030852562944,3342709614871371776,5382379892856328192,7192726298468528128 |
| PARAM_VALUE | 0 | hwmgr->not_vf | 1 |
| PARAM_VALUE | 1 | state | 4108897241541623808 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| BUF_SIZE | 0 | hwmgr | 1256,3984 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &hive->tb.enter_turnstile | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/amd_powerplay.c pp_get_asic_baco_state() -> (struct pp_hwmgr_func)->get_asic_baco_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwmgr | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func | 4096-ptr_max |
| PARAM_VALUE | 0 | hwmgr->hwmgr_func->get_asic_baco_state | 2479570001159974912,4432063317322838016,4809593332702662656 |
| PARAM_VALUE | 0 | hwmgr->pm_en | 1 |
| DATA_SOURCE | 0 | hwmgr | $0 |
| DATA_SOURCE | 1 | state | $1 |
| CONTAINER | 0 | -632-752+0 | $(-1) |
| NOCHECK_CALL |