Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c, line 336
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c, line 1690
- drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c, line 1559
- drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c, line 1470
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c set_barrier_auto_waitcnt() -> amdgpu_amdkfd_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.num_compute_rings | 0-s32max |
| 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->grbm_idx_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->grbm_idx_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->reg_offset | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->reset_domain | 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 | 1 | resume_proc | 1 |
| CAPPED_DATA | 0 | adev->gfx.num_compute_rings | 1 |
| CAPPED_DATA | 0 | &adev->reset_domain->sem | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &adev->grbm_idx_mutex | |
| LOCK2 | 0 | &adev->reset_domain->sem | |
| HALF_LOCKED2 | &p->mutex | ||
| TYPE_LOCK | (struct amdgpu_device)->grbm_idx_mutex | ||
| TYPE_LOCK | (struct amdgpu_reset_domain)->sem |
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c sdma_v4_4_2_reset_queue() -> amdgpu_amdkfd_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| 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,41694,41717,62460,65472 |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | resume_proc | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c sdma_v5_2_reset_queue() -> amdgpu_amdkfd_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| 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,41694,41717,62460,65472 |
| 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->sdma.num_instances | s32min-(-1),1-s32max |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | resume_proc | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_resume() -> amdgpu_amdkfd_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,157-158,203,212,215,233,272,274,282 |
| PARAM_VALUE | 0 | adev->gfxhub.funcs->get_xgmi_info | 0,4096-ptr_max |
| 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,41694,41717,62460,65472 |
| 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->mman.buffer_funcs_enabled | 1 |
| PARAM_VALUE | 0 | adev->mman.clear_entities | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.cb.func | 0 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.cb.node.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.cb.node.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.lock.owner_cpu | 0,u32max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.entity_idle.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.guilty | 0 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.job_queue.tail.counter | s64min-(-4096),0,4096-s64max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.num_sched_list | 0-1 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.priority | 0 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.rq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.rq->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.base.stats->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mman.default_entity.gart_node.mm->holes_size.rb_root.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.default_entity.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mman.default_entity.lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mman.next_clear_entity.counter | 0 |
| PARAM_VALUE | 0 | adev->mman.next_move_entity.counter | 0 |
| PARAM_VALUE | 0 | adev->mman.num_clear_entities | 0-8 |
| PARAM_VALUE | 0 | adev->mman.num_move_entities | 0-8 |
| PARAM_VALUE | 0 | adev->mmhub.funcs->get_xgmi_info | 0,3251155557669371904 |
| 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 | 0-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->powerplay.pp_handle->adev->mes.saved_flags | 0-4294967295 |
| 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,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637,41694,41717,62460,65472 |
| CAPPED_DATA | 0 | adev->num_ip_blocks | 1 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.xgmi.node_segment_size | 0,16777216-2199006478336[c] |
| 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 |
| HOST_DATA | 0 | adev->vm_manager.vram_base_offset | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | adev->mman.num_clear_entities | |
| HALF_LOCKED2 | global &vgasr_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_suspend() -> amdgpu_amdkfd_resume()
| 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->inode_info_offs | 1632,1720,2632,2648 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | adev->delayed_init_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->flags | 262144-u64max |
| PARAM_VALUE | 0 | adev->gfx.idle_work.work.lockdep_map->name | 0-255 |
| 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 |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->in_suspend | 1 |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 0 | adev->pm.dpm_enabled | 0 |
| PARAM_VALUE | 0 | adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| 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.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| 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->powerplay.pp_handle->device->adev->mes.mutex_hidden.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.smu->adev->no_hw_access | 1 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.smu->adev->pdev->enable_cnt.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_ctl.smu->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->powerplay.pp_handle->msg_lock.osq.tail.counter | 0-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 |
| DATA_SOURCE | 0 | adev | r drm_to_adev |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.visible_vram_size | 0-4503599626321920[c] |
| 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 |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &vgasr_mutex |
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c sdma_v5_0_reset_queue() -> amdgpu_amdkfd_resume()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->kfd.dev | 0,4096-ptr_max |
| 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,41694,41717,62460,65472 |
| 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->sdma.num_instances | s32min-(-1),1-s32max |
| 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,41694,41717,62460,65472 |
| PARAM_VALUE | 1 | resume_proc | 1 |
| NOCHECK_CALL | |||
| LOCK2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | &pool->lock |