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/legacy-dpm/kv_dpm.c kv_force_dpm_highest() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 7,9
PARAM_VALUE 0 adev->mes.mutex_hidden.dep_map->name 0-255
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 1 msg 260
PARAM_VALUE 2 parameter 0-7
BUF_SIZE 0 adev (-1),1256,3968,3984
BUF_SIZE 0 adev (-1),1256,3968,3984
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->asic_type 9
FUZZY_MAX 2 parameter 0
BIT_INFO 0 adev->asic_type 0x1,0xf
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_force_dpm_lowest() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 7,9
PARAM_VALUE 0 adev->mes.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 adev->mes.mutex_hidden.dep_map->name 0-255
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->xcp_mgr->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 1 msg 260
PARAM_VALUE 2 parameter 0-8
BUF_SIZE 0 adev (-1),1256,3968,3984
BUF_SIZE 0 adev (-1),1256,3968,3984
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->asic_type 9
FUZZY_MAX 2 parameter 8
BIT_INFO 0 adev->asic_type 0x1,0xf
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_set_enabled_level() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 0-6,8,10-u32max
PARAM_VALUE 0 adev->mes.adev->gfx.rlc.cs_data->section->reg_index 0,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 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index 0,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472
PARAM_VALUE 1 msg 325
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
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_set_enabled_levels() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->mes.adev->gfx.rlc.cs_data->section->reg_index 0,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 adev->pm.dpm.priv 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
PARAM_VALUE 0 adev->xcp_mgr->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 1 msg 325
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
LOCK2 &adev->pm.mutex
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_update_acp_boot_level() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 0-6,8,10-u32max
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.next 5159360019465732096
PARAM_VALUE 0 adev->mes.mutex_hidden.first_waiter->list.prev->prev 0,5159360019465732096
PARAM_VALUE 0 adev->pm.dpm.priv 4096-ptr_max
PARAM_VALUE 0 adev->pm.dpm.priv->highest_valid 0-4294967294
PARAM_VALUE 0 adev->pm.dpm.priv->vce_boot_level 0-255
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->xcp_mgr->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 1 msg 303
PARAM_VALUE 2 parameter 1
BUF_SIZE 0 adev 1256,3984
BUF_SIZE 0 adev 1256,3984
CAPPED_DATA 0 adev->pm.dpm.priv->highest_valid 1
CAPPED_DATA 0 adev->pm.dpm.priv->lowest_valid 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_update_acp_dpm() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 0-6,8,10-u32max
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_info_offset 20
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_max_record_count 10911,10921
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_record_offset 20,276
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported 1
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
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->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_info_offset 20
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_max_record_count 10911,10921
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_record_offset 20,276
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported 1
PARAM_VALUE 1 msg 303
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &adev->pm.mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_update_samu_dpm() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->kfd.dev->num_nodes 0-16
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_info_offset 20
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_max_record_count 10911,10921
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->eeprom_control.ras_record_offset 20,276
PARAM_VALUE 0 adev->mes.adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported 1
PARAM_VALUE 0 adev->mes.mutex_hidden->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 adev->pm.dpm.priv 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
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_info_offset 20
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_max_record_count 10911,10921
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->eeprom_control.ras_record_offset 20,276
PARAM_VALUE 0 adev->xcp_mgr->adev->psp.ras_context.ras->umc_ecc.record_ce_addr_supported 1
PARAM_VALUE 1 msg 304
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &adev->pm.mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_update_uvd_dpm() -> amdgpu_kv_send_msg_to_smc_with_parameter()

Type Parameter Key Value
PARAM_VALUE 0 adev 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
PARAM_VALUE 1 msg 301
BUF_SIZE 0 adev 1256,3984
BUF_SIZE 0 adev 1256,3984
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &adev->gfx.gfx_off_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex

drivers/gpu/drm/amd/amdgpu/../pm/legacy-dpm/kv_dpm.c kv_update_vce_dpm() -> amdgpu_kv_send_msg_to_smc_with_parameter()

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->prev 0,5159360019465732096
PARAM_VALUE 0 adev->pm.dpm.priv 4096-ptr_max
PARAM_VALUE 0 adev->pm.dpm.priv->highest_valid 0-4294967294
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->xcp_mgr->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 1 msg 302
BUF_SIZE 0 adev 1256,3984
BUF_SIZE 0 adev 1256,3984
CAPPED_DATA 0 adev->pm.dpm.priv->highest_valid 1
CAPPED_DATA 0 adev->pm.dpm.priv->lowest_valid 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &adev->pm.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_pm)->mutex