Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c __amdgpu_ctx_set_stable_pstate() -> amdgpu_dpm_force_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 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->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.stable_pstate_ctx | 0,4096-ptr_max |
| 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 | 1 | level | 1,16,32,64,128 |
| FUZZY_MAX | 1 | level | 128 |
| BIT_INFO | 1 | level | 0x0,0xf1 |
| HARD_MAX | 1 | level | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->pm.stable_pstate_ctx_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct amdgpu_pm)->stable_pstate_ctx_lock |
drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_pm.c amdgpu_set_power_dpm_force_performance_level() -> amdgpu_dpm_force_performance_level()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 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->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | adev->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | adev->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adev->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->init_lvl->level | 0 |
| PARAM_VALUE | 0 | adev->pm.stable_pstate_ctx_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.stable_pstate_ctx_lock.first_waiter->list.prev->next | 5159360019465732096 |
| 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.dep_map->name | 0-255 |
| 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->reset_domain | 4096-ptr_max |
| PARAM_VALUE | 1 | level | 1-2,4,8,16,32,64,128,256,512 |
| CAPPED_DATA | 0 | &adev->pm.stable_pstate_ctx_lock | 1 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| FUZZY_MAX | 1 | level | 512 |
| HARD_MAX | 1 | level | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | 0 | &adev->pm.stable_pstate_ctx_lock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->stable_pstate_ctx_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |