Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hwmgr.c hwmgr_handle_task() -> psm_set_user_performance_state()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 1 label_id 0-1,3,5
PARAM_VALUE 2 state 4564118466423586816
PARAM_VALUE 2 *state 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
DATA_SOURCE 1 label_id r power_state_convert
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 hwmgr->boot_ps->classification.bios_index
NO_OVERFLOW_SIMPLE 0 hwmgr->current_ps->classification.bios_index
NO_OVERFLOW_SIMPLE 0 hwmgr->request_ps->classification.bios_index
NO_OVERFLOW_SIMPLE 0 hwmgr->uvd_ps->classification.bios_index
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct amdgpu_pm)->mutex