Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c, line 301
- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c, line 2931
- drivers/gpu/drm/amd/pm/amdgpu_dpm.c, line 1102
- drivers/gpu/drm/amd/pm/amdgpu_pm.c, line 375
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c amdgpu_get_stable_pstate() -> amdgpu_dpm_get_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.stable_pstate_ctx_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c amdgpu_restore_umd_profile_pstate_after_runpm() -> amdgpu_dpm_get_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pm.rpm_mode | 1-u32max |
| 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 |
| DATA_SOURCE | 0 | adev | $0 |
| FUZZY_MAX | 0 | adev->pm.rpm_mode | 4 |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_get_power_dpm_force_performance_level() -> amdgpu_dpm_get_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->power.child_count.counter | 1-s32max |
| PARAM_VALUE | 0 | adev->dev->power.ignore_children | 0 |
| PARAM_VALUE | 0 | adev->in_suspend | 0 |
| PARAM_VALUE | 0 | adev->init_lvl | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0 |
| PARAM_VALUE | 0 | adev->reset_domain | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_force_performance_level() -> amdgpu_dpm_get_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0-2 |
| PARAM_VALUE | 0 | adev->pm.dpm.thermal_active | 0 |
| PARAM_VALUE | 0 | adev->pm.stable_pstate_ctx_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->pm.stable_pstate_ctx_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->pm.stable_pstate_ctx_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->powerplay.pp_funcs->force_performance_level | 1618752174994710528,2478893391702433792,6733313188007206912,7358513358478786560 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->pm.stable_pstate_ctx_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | 0 | &adev->pm.stable_pstate_ctx_lock | |
| TYPE_LOCK | (struct amdgpu_pm)->stable_pstate_ctx_lock |