Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/radeon/ci_dpm.c ci_dpm_stop_smc() -> ci_reset_smc()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->mmio_idx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rdev->pm.dpm.priv 4096-ptr_max
PARAM_VALUE 0 rdev->pm.dpm.priv->active_auto_throttle_sources 0,2-4294967295
PARAM_VALUE 0 rdev->pm.dpm.priv->cac_enabled 0-1
PARAM_VALUE 0 rdev->pm.dpm.priv->fan_ctrl_is_in_default_mode 1
PARAM_VALUE 0 rdev->pm.dpm.priv->power_containment_features 0-7
PARAM_VALUE 0 rdev->pm.dpm.priv->ulv.supported 0-1
PARAM_VALUE 0 rdev->pm.dpm.priv->uvd_power_gated 0
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rdev->pm.pm_method 2
PARAM_VALUE 0 rdev->smc_idx_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev->agp (-1),144
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rdev->rmmio_size
LOCK2 &rdev->pm.mutex
TYPE_LOCK (struct radeon_pm)->mutex

drivers/gpu/drm/radeon/ci_dpm.c ci_upload_firmware() -> ci_reset_smc()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->mmio_idx_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rdev->pm.pm_method 2
PARAM_VALUE 0 rdev->smc_idx_lock.rlock.dep_map->name 0-255
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev->agp (-1),144
CAPPED_DATA 0 rdev->usec_timeout 1
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 rdev->gart.num_cpu_pages 0-524287[c]
HOST_DATA 0 rdev->mc.aper_base 0-1099511627775[c]
HOST_DATA 0 rdev->mc.gtt_size 0-s32max[c]
HOST_DATA 0 rdev->mc.gtt_start 0-u64max[c]
HOST_DATA 0 rdev->mc.mc_vram_size 0-4503599626321920
HOST_DATA 0 rdev->mc.real_vram_size 0-4503599626321920
HOST_DATA 0 rdev->mc.vram_end 0-4504699121172479,u64max[c]
HOST_DATA 0 rdev->mc.vram_start 0-9223372036854775807[c]
NO_OVERFLOW_SIMPLE 0 rdev->pm.current_power_state_index
NO_OVERFLOW_SIMPLE 0 rdev->pm.default_power_state_index
NO_OVERFLOW_SIMPLE 0 rdev->pm.num_power_states
NO_OVERFLOW_SIMPLE 0 rdev->rmmio_size
LOCK2 &rdev->pm.mutex
TYPE_LOCK (struct radeon_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/powerplay/smumgr/ci_smumgr.c ci_stop_smc() -> ci_reset_smc()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 rdev->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 rdev->backend 4096-ptr_max
PARAM_VALUE 0 rdev->backend->active_auto_throttle_sources 0,2-4294967295
PARAM_VALUE 0 rdev->backend->battery_state 0-1
PARAM_VALUE 0 rdev->backend->cac_enabled 0
PARAM_VALUE 0 rdev->backend->current_profile_setting.bupdate_mclk 0-255
PARAM_VALUE 0 rdev->backend->current_profile_setting.bupdate_sclk 0-255
PARAM_VALUE 0 rdev->backend->current_profile_setting.mclk_activity 0-u16max
PARAM_VALUE 0 rdev->backend->current_profile_setting.mclk_down_hyst 0-255
PARAM_VALUE 0 rdev->backend->current_profile_setting.mclk_up_hyst 0-255
PARAM_VALUE 0 rdev->backend->current_profile_setting.sclk_activity 0-u16max
PARAM_VALUE 0 rdev->backend->current_profile_setting.sclk_down_hyst 0-255
PARAM_VALUE 0 rdev->backend->current_profile_setting.sclk_up_hyst 0-255
PARAM_VALUE 0 rdev->backend->dcf_actual_hard_min_freq 0-4294967295
PARAM_VALUE 0 rdev->backend->dpm_level_enable_mask.mclk_dpm_enable_mask 0-3
PARAM_VALUE 0 rdev->backend->dpm_level_enable_mask.pcie_dpm_enable_mask 0-3
PARAM_VALUE 0 rdev->backend->dpm_level_enable_mask.sclk_dpm_enable_mask 0-3
PARAM_VALUE 0 rdev->backend->f_actual_hard_min_freq 0-4294967295
PARAM_VALUE 0 rdev->backend->fine_grain_enabled 0-1
PARAM_VALUE 0 rdev->backend->force_pcie_gen 0-3,u16max
PARAM_VALUE 0 rdev->backend->gfx_actual_soft_max_freq 0-4294967295
PARAM_VALUE 0 rdev->backend->gfx_actual_soft_min_freq 0-4294967295
PARAM_VALUE 0 rdev->backend->is_custom_profile_set 1
PARAM_VALUE 0 rdev->backend->is_nb_dpm_enabled 1
PARAM_VALUE 0 rdev->backend->last_sent_vbi_timeout 0-20000
PARAM_VALUE 0 rdev->backend->mclk_ignore_signal 0-1
PARAM_VALUE 0 rdev->backend->need_update_dpm_table 0-255
PARAM_VALUE 0 rdev->backend->need_update_smu7_dpm_table 0-4294967295
PARAM_VALUE 0 rdev->backend->pspp_notify_required 0-1
PARAM_VALUE 0 rdev->backend->smc_state_table.pp_table.LowGfxclkInterruptThreshold 1-4294967295
PARAM_VALUE 0 rdev->backend->ulv_supported 0-1
PARAM_VALUE 0 rdev->device 4096-ptr_max
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->magic 5159360019465732096
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 rdev->device->adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rdev->device->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 rdev->device->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rdev->device->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 rdev->fan_ctrl_default_mode 0-7
PARAM_VALUE 0 rdev->gfxoff_state_changed_by_workload 0
PARAM_VALUE 0 rdev->hwmgr_func 4096-ptr_max
PARAM_VALUE 0 rdev->hwmgr_func->disable_smc_firmware_ctf 0,320402144971874304,4235145329258029056,5340594925240430592,8565130193669922816
PARAM_VALUE 0 rdev->hwmgr_func->dynamic_state_management_disable 1733528266904788992,4715612368408551424,5779444257099579392,5892798868416196608,7869139160375508992,8324224874920792064
PARAM_VALUE 0 rdev->hwmgr_func->power_off_asic 3285473326870528,3192908997034758144,3729790398818775040,5237312875118493696,7031790234035695616,8387798002370052096
PARAM_VALUE 0 rdev->hwmgr_func->stop_thermal_controller 0,1506093590029230080,3693573413439086592,5406745503785533440,5881162152740569088
PARAM_VALUE 0 rdev->msg_lock.dep_map->name 0-255
PARAM_VALUE 0 rdev->msg_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->msg_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rdev->msg_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rdev->msg_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rdev->msg_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rdev->msg_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rdev->msg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 rdev->msg_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rdev->msg_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->not_vf 1
PARAM_VALUE 0 rdev->platform_descriptor.platformCaps 4096-ptr_max
PARAM_VALUE 0 rdev->pm_en 1
PARAM_VALUE 0 rdev->smu_backend->mc_regs.last 0
PARAM_VALUE 0 rdev->smumgr_funcs 4096-ptr_max
PARAM_VALUE 0 rdev->smumgr_funcs->is_dpm_running 0,4096-ptr_max
PARAM_VALUE 0 rdev->smumgr_funcs->stop_smc 7278467840441409536
PARAM_VALUE 0 rdev->tmin 0-255
PARAM_VALUE 0 *rdev->adev->gfx.rlc.in_safe_mode 0-1
BUF_SIZE 0 rdev 1256,3968
BUF_SIZE 0 rdev 1256,3968
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL