Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_bump_power_profile_mode() -> (struct pptable_funcs)->set_power_profile_mode()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 0 smu->adev 4096-ptr_max
PARAM_VALUE 0 smu->adev->gfx.rlc.cs_data->section->reg_index 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472
PARAM_VALUE 0 smu->adev->pm.dpm_enabled 1
PARAM_VALUE 0 smu->msg_ctl.smu->adev->gfx.rlc.cs_data->section->reg_count 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488
PARAM_VALUE 0 smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 smu->msg_ctl.smu->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 smu->pm_enabled 1
PARAM_VALUE 0 smu->ppt_funcs 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->display_config_changed 0,234952434484772864,6633764326234828800
PARAM_VALUE 0 smu->ppt_funcs->notify_smc_display_config 0,5153542075416502272,8111846521934385152
PARAM_VALUE 0 smu->ppt_funcs->pre_display_config_changed 0,1341853969176363008,8146876555241955328
PARAM_VALUE 0 smu->ppt_funcs->set_performance_level 0,4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->set_power_profile_mode 4096-ptr_max
PARAM_VALUE 0 smu->workload_refcount 4096-ptr_max
PARAM_VALUE 2 custom_params 0,2920441983570579456
BUF_SIZE 0 smu (-1),1256,3968,3984
BUF_SIZE 0 smu (-1),1256,3968,3984
BUF_SIZE 2 custom_params (-1)-0,512
BUF_SIZE 2 custom_params (-1)-0,512
DATA_SOURCE 0 smu $0
DATA_SOURCE 2 custom_params $1
DATA_SOURCE 3 custom_params_max_idx $2
CONTAINER 0 -88-32+0 $(-1)
PARAM_COMPARE 0 smu->workload_mask != $1
PARAM_COMPARE 1 workload_mask != $0->workload_mask
BIT_INFO 2 custom_params 0x0,0x28877e82c9dc9000
BIT_INFO 2 custom_params 0x0,0x28877e82c9dc9000
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_pause_power_profile() -> (struct pptable_funcs)->set_power_profile_mode()

Type Parameter Key Value
PARAM_VALUE 0 smu 4096-ptr_max
PARAM_VALUE 0 smu->adev 4096-ptr_max
PARAM_VALUE 0 smu->adev->pm.dpm_enabled 1
PARAM_VALUE 0 smu->pause_workload 1
PARAM_VALUE 0 smu->pm_enabled 1
PARAM_VALUE 0 smu->ppt_funcs 4096-ptr_max
PARAM_VALUE 0 smu->ppt_funcs->set_power_profile_mode 4096-ptr_max
PARAM_VALUE 1 workload_mask 1
PARAM_VALUE 2 custom_params 0
PARAM_VALUE 3 custom_params_max_idx 0
BUF_SIZE 0 smu 1256,3984
BUF_SIZE 0 smu 1256,3984
DATA_SOURCE 0 smu $0
CONTAINER 0 -88-32+0 $(-1)
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex