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/../pm/legacy-dpm/si_smc.c amdgpu_si_send_msg_to_smc() -> amdgpu_si_is_smc_running()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs->get_xclk 4096-ptr_max
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
BUF_SIZE 0 adev (-1),1256,3968,3984
BUF_SIZE 0 adev (-1),1256,3968,3984
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 0 &adev->pm.mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_smc.c amdgpu_si_wait_for_smc_inactive() -> amdgpu_si_is_smc_running()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_funcs->get_xclk 4096-ptr_max
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 adev->pm.dpm.priv 4096-ptr_max
PARAM_VALUE 0 adev->reset_domain->sem.dep_map->name 0-255
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
PARAM_VALUE 0 *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 adev (-1),1256,3968,3984
BUF_SIZE 0 adev (-1),1256,3968,3984
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 0 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_disable() -> amdgpu_si_is_smc_running()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 0 &adev->pm.mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/si_dpm.c si_dpm_enable() -> amdgpu_si_is_smc_running()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->mes.mutex_hidden.dep_map->name 0-255
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->pm.dpm.priv 4096-ptr_max
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_func_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_func_cntl_2 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_func_cntl_3 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_func_cntl_4 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_spread_spectrum 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.cg_spll_spread_spectrum_2 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.dll_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mclk_pwrmgt_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_ad_func_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_dq_func_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_func_cntl 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_func_cntl_1 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_func_cntl_2 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_ss1 0-4294967295
PARAM_VALUE 0 adev->pm.dpm.priv->clock_registers.mpll_ss2 0-4294967295
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->pm.mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 adev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 adev->reset_domain->sem.dep_map->name 0-255
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
PARAM_VALUE 0 *adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex