Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/legacy_dpm.c amdgpu_dpm_change_power_state_locked() -> (struct amd_pm_funcs)->force_performance_level()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
PARAM_VALUE 1 level 4
BUF_SIZE 0 handle (-1),1256,3984
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/legacy_dpm.c amdgpu_dpm_change_power_state_locked() -> (struct amd_pm_funcs)->force_performance_level()

Type Parameter Key Value
PARAM_VALUE 0 handle 4096-ptr_max
BUF_SIZE 0 handle (-1),1256,3984
DATA_SOURCE 0 handle $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/amdgpu_dpm.c amdgpu_dpm_force_performance_level() -> (struct amd_pm_funcs)->force_performance_level()

Type Parameter Key Value
PARAM_VALUE 1 level 1-2,4,8,16,32,64,128,256,512
BUF_SIZE 0 handle 1256,3984,524640
DATA_SOURCE 1 level $1
FUZZY_MAX 1 level 512
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &adev->pm.stable_pstate_ctx_lock
HALF_LOCKED2 &adev->pm.stable_pstate_ctx_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct amdgpu_pm)->mutex
TYPE_LOCK (struct amdgpu_pm)->stable_pstate_ctx_lock