Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_acpi_smart_shift_update() -> amdgpu_acpi_power_shift_control()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->acpi_nb.next 0,4096-ptr_max
PARAM_VALUE 0 adev->acpi_nb.notifier_call 1201103493937524736
PARAM_VALUE 0 adev->asic_funcs 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 adev->debug_disable_ce_logs 1
PARAM_VALUE 0 adev->debug_disable_gpu_ring_reset 1
PARAM_VALUE 0 adev->debug_disable_ip_block_soft_reset 1
PARAM_VALUE 0 adev->debug_disable_soft_recovery 1
PARAM_VALUE 0 adev->debug_enable_ce_cs 1
PARAM_VALUE 0 adev->debug_exp_resets 1
PARAM_VALUE 0 adev->debug_hibernation_thaw_resume_gpu 1
PARAM_VALUE 0 adev->debug_largebar 1
PARAM_VALUE 0 adev->debug_use_vram_fw_buf 1
PARAM_VALUE 0 adev->debug_vm 1
PARAM_VALUE 0 adev->debug_vm_userptr 1
PARAM_VALUE 0 adev->dev 4096-ptr_max
PARAM_VALUE 0 adev->dev->bus 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->class 0,4096-ptr_max
PARAM_VALUE 0 adev->dev->driver 0,4096-ptr_max
PARAM_VALUE 0 adev->flags 262144-u64max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_count 0-6,55-56,66,98-99,157-158,203,212,215,233,272,274,290,488
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 0 adev->gfxhub.funcs->get_xgmi_info 0,591011708383666176,6240322534601723904
PARAM_VALUE 0 adev->has_pr3 1
PARAM_VALUE 0 adev->init_lvl->level 0-2
PARAM_VALUE 0 adev->mes.adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 0 adev->pdev 4096-ptr_max
PARAM_VALUE 0 adev->pdev->driver 4096-ptr_max
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.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 adev->pm.mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 adev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 adev->pm.rpm_mode 0-4
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->mes.mutex_hidden.first_waiter->list.next 5159360019465732096
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->mes.saved_flags 0-4294967295
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->reset_domain->sem.dep_map->name 0-255
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->powerplay.pp_handle->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
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,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 1 dev_state 0
PARAM_VALUE 2 drv_state 0
BUF_SIZE 0 adev->dev 1616
BUF_SIZE 0 adev->pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
CAPPED_DATA 0 adev 1
CAPPED_DATA 0 adev->pdev->device 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->pdev->current_state 0-3[c]
NO_OVERFLOW_SIMPLE 0 adev->mman.default_entity.base.num_sched_list
NO_OVERFLOW_SIMPLE 0 adev->mman.num_clear_entities
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_acpi_smart_shift_update() -> amdgpu_acpi_power_shift_control()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,5297,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 adev->flags 262144-u64max
PARAM_VALUE 0 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 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->gfxhub.funcs->get_xgmi_info 0,4096-ptr_max
PARAM_VALUE 0 adev->has_pr3 1
PARAM_VALUE 0 adev->init_lvl->level 0-2
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->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
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 dev_state 0
PARAM_VALUE 2 drv_state 0
CAPPED_DATA 0 adev 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->gmc.visible_vram_size 0-4503599626321920[c]
HOST_DATA 0 adev->hive->kobj.kref.refcount.refs.counter s32min-s32max
HOST_DATA 0 adev->psp.sos.fw_version 0-u32max
HOST_DATA 0 adev->virt.fw_reserve.checksum_key 0-u32max
HOST_DATA 0 adev->virt.init_data_header.offset 0-u32max
HOST_DATA 0 adev->virt.init_data_header.size_kb 0-u32max
NO_OVERFLOW_SIMPLE 0 adev->mman.default_entity.base.num_sched_list
NO_OVERFLOW_SIMPLE 0 adev->mman.num_clear_entities

drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_acpi_smart_shift_update() -> amdgpu_acpi_power_shift_control()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 adev->flags 262144-u64max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_count 0-6,55-56,66,98-99,157-158,203,212,215,233,272,274,290,488
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 0 adev->gfxhub.funcs->get_xgmi_info 0,591011708383666176,6240322534601723904
PARAM_VALUE 0 adev->has_pr3 1
PARAM_VALUE 0 adev->in_suspend 1
PARAM_VALUE 0 adev->init_lvl->level 0-2
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->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
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 dev_state 3
PARAM_VALUE 2 drv_state 1
CAPPED_DATA 0 adev 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->virt.fw_reserve.checksum_key 0-u32max
HOST_DATA 0 adev->virt.init_data_header.offset 0-u32max
HOST_DATA 0 adev->virt.init_data_header.size_kb 0-u32max
NO_OVERFLOW_SIMPLE 0 adev->mman.default_entity.base.num_sched_list
NO_OVERFLOW_SIMPLE 0 adev->mman.num_clear_entities
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 global &vgasr_mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c amdgpu_acpi_smart_shift_update() -> amdgpu_acpi_power_shift_control()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir 0,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->get_context 0,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_cop->set_context 0,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 0 adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 adev->flags 262144-u64max
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_count 0-6,55-56,66,98-99,157-158,203,212,215,233,272,274,290,488
PARAM_VALUE 0 adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 0 adev->gfxhub.funcs->get_xgmi_info 0,591011708383666176,6240322534601723904
PARAM_VALUE 0 adev->has_pr3 1
PARAM_VALUE 0 adev->init_lvl->level 0-2
PARAM_VALUE 0 adev->mes.adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 0 adev->num_ip_blocks s32min-(-1),1-s32max
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 adev->psp.adev->reset_domain->sem.first_waiter->type 0-1
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->rmmio 1-u64max
PARAM_VALUE 0 adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index 0,40960,41174,41176,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472
PARAM_VALUE 1 dev_state 0
PARAM_VALUE 2 drv_state 1
CAPPED_DATA 0 adev 1
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 adev->mman.default_entity.base.num_sched_list
NO_OVERFLOW_SIMPLE 0 adev->mman.num_clear_entities