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_adjust_power_state_dynamic()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 hwmgr->backend->dpm_table.mem_table.dpm_state.hard_min_level 0-4294967295
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 hwmgr->hwmgr_func 4096-ptr_max
PARAM_VALUE 0 hwmgr->hwmgr_func->set_cpu_power_state 0,5856536315792371712,9134132896884461568
PARAM_VALUE 0 hwmgr->msg_lock.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->not_vf 1
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 0 hwmgr->ps 0,4096-ptr_max
PARAM_VALUE 1 skip_display_settings 0
PARAM_VALUE 2 new_ps 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
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

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

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->not_vf 1
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 1 skip_display_settings 1
PARAM_VALUE 2 new_ps 0,4096-ptr_max
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
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

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

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 *hwmgr->platform_descriptor.platformCaps 0-4294967295
PARAM_VALUE 1 skip_display_settings 1
PARAM_VALUE 2 new_ps 0
BUF_SIZE 0 hwmgr (-1),1256,3968,3984
BUF_SIZE 0 hwmgr (-1),1256,3968,3984
DATA_SOURCE 0 hwmgr $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hwmgr->fan_ctrl_default_mode 0-7[c]
HOST_DATA 0 hwmgr->microcode_version_info.MC 0-u32max
HOST_DATA 0 hwmgr->tmin 0-255[c]
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
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hwmgr.c hwmgr_hw_fini() -> psm_adjust_power_state_dynamic()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->hwmgr_func->stop_thermal_controller 0,1506093590029230080,3693573413439086592,5406745503785533440,5881162152740569088
PARAM_VALUE 0 hwmgr->not_vf 1
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 1 skip_display_settings 1
PARAM_VALUE 2 new_ps 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hwmgr.c hwmgr_resume() -> psm_adjust_power_state_dynamic()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 hwmgr->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->adev->mode_info.atom_context->data_block 0
PARAM_VALUE 0 hwmgr->adev->mode_info.atom_context->execute_depth 0-31
PARAM_VALUE 0 hwmgr->adev->mode_info.atom_context->fb_base 0
PARAM_VALUE 0 hwmgr->adev->mode_info.atom_context->io_mode 0
PARAM_VALUE 0 hwmgr->adev->mode_info.atom_context->reg_block 0
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_edge_emergency_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_hotspot_crit_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_hotspot_emergency_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_mem_crit_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_mem_emergency_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.max_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.min_hotspot_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.min_mem_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.min_temp s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.dpm.thermal.sw_ctf_threshold s32min-s32max
PARAM_VALUE 0 hwmgr->adev->pm.mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hwmgr->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 hwmgr->backend->acp_dpm.hard_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->acp_dpm.hard_min_clk 0
PARAM_VALUE 0 hwmgr->backend->acp_dpm.soft_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->acp_dpm.soft_min_clk 0
PARAM_VALUE 0 hwmgr->backend->acp_power_gated 0
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_FUNC_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_FUNC_CNTL_2 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_FUNC_CNTL_3 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_FUNC_CNTL_4 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_SPREAD_SPECTRUM 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vCG_SPLL_SPREAD_SPECTRUM_2 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vDLL_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMCLK_PWRMGT_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_AD_FUNC_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_DQ_FUNC_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL_1 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL_2 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_SS1 0-4294967295
PARAM_VALUE 0 hwmgr->backend->clock_registers.vMPLL_SS2 0-4294967295
PARAM_VALUE 0 hwmgr->backend->is_memory_gddr5 0-1
PARAM_VALUE 0 hwmgr->backend->isp_tileA_power_gated 1
PARAM_VALUE 0 hwmgr->backend->isp_tileB_power_gated 1
PARAM_VALUE 0 hwmgr->backend->max_sclk_level 0-4294967295
PARAM_VALUE 0 hwmgr->backend->mem_latency_high 45,330
PARAM_VALUE 0 hwmgr->backend->mem_latency_low 35,330
PARAM_VALUE 0 hwmgr->backend->samu_power_gated 0
PARAM_VALUE 0 hwmgr->backend->sclk_dpm.hard_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->sclk_dpm.hard_min_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->sclk_dpm.soft_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->sclk_dpm.soft_min_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->uvd_dpm.hard_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->uvd_dpm.hard_min_clk 0
PARAM_VALUE 0 hwmgr->backend->uvd_dpm.soft_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->uvd_dpm.soft_min_clk 0
PARAM_VALUE 0 hwmgr->backend->uvd_power_gated 0
PARAM_VALUE 0 hwmgr->backend->vce_dpm.hard_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->vce_dpm.hard_min_clk 0
PARAM_VALUE 0 hwmgr->backend->vce_dpm.soft_max_clk 0-4294967295
PARAM_VALUE 0 hwmgr->backend->vce_dpm.soft_min_clk 0
PARAM_VALUE 0 hwmgr->backend->vce_power_gated 0
PARAM_VALUE 0 hwmgr->backend->vcn_power_gated 1
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 hwmgr->device->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 hwmgr->device->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 hwmgr->hwmgr_func 4096-ptr_max
PARAM_VALUE 0 hwmgr->msg_lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 hwmgr->msg_lock.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hwmgr->msg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 hwmgr->not_vf 1
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 0 *hwmgr->platform_descriptor.platformCaps 0-4294967295
PARAM_VALUE 1 skip_display_settings 0
PARAM_VALUE 2 new_ps 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 hwmgr->backend->clock_registers.vDLL_CNTL 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMCLK_PWRMGT_CNTL 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_AD_FUNC_CNTL 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_DQ_FUNC_CNTL 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL_1 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_FUNC_CNTL_2 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_SS1 0-4294967295
HOST_DATA 0 hwmgr->backend->clock_registers.vMPLL_SS2 0-4294967295
HOST_DATA 0 hwmgr->microcode_version_info.MC 0-u32max
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/hwmgr.c hwmgr_suspend() -> psm_adjust_power_state_dynamic()

Type Parameter Key Value
PARAM_VALUE 0 hwmgr 4096-ptr_max
PARAM_VALUE 0 hwmgr->hwmgr_func->disable_smc_firmware_ctf 0,320402144971874304,4235145329258029056,5340594925240430592,8565130193669922816
PARAM_VALUE 0 hwmgr->not_vf 1
PARAM_VALUE 0 hwmgr->pm_en 1
PARAM_VALUE 0 hwmgr->ps 0,4096-ptr_max
PARAM_VALUE 0 hwmgr->swctf_delayed_work.work.lockdep_map->name 0-255
PARAM_VALUE 1 skip_display_settings 1
PARAM_VALUE 2 new_ps 0
BUF_SIZE 0 hwmgr 1256,3984
BUF_SIZE 0 hwmgr 1256,3984
DATA_SOURCE 0 hwmgr $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu