Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c gmc_v10_0_mc_init() -> (struct amdgpu_gfxhub_funcs)->get_mc_fb_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-u64max |
| PARAM_VALUE | 0 | adev->gfxhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.mall_size | 0,16777216,33554432,100663296,134217728 |
| PARAM_VALUE | 0 | adev->gmc.mc_mask | 281474976710655 |
| PARAM_VALUE | 0 | adev->gmc.pte_addr_mask | 281474976706560 |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.enabled_types | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.funcs | 1-u64max |
| PARAM_VALUE | 0 | adev->gmc.vram_type | 0,2,5-13 |
| PARAM_VALUE | 0 | adev->gmc.vram_vendor | 0-15 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mmhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev | 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->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| DATA_SOURCE | 0 | adev | $0 |
| FUZZY_MAX | 0 | adev->gmc.mall_size | 134217728 |
| FUZZY_MAX | 0 | adev->gmc.vram_type | 9 |
| CONTAINER | 0 | -8-0-111648+0 | $(-1) |
| BIT_INFO | 0 | adev->flags | 0x20000,0xffffffffffffffff |
| BIT_INFO | 0 | adev->gmc.mall_size | 0x0,0xf000000 |
| BIT_INFO | 0 | adev->gmc.vram_width | 0x0,0x7fffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xfffffff7 |
| HARD_MAX | 0 | adev->gmc.mall_size | 134217728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.mc_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.real_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.vram_vendor | 0-15 |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.ecc_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.vm_fault.num_types |
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c gmc_v10_0_vram_gtt_location() -> (struct amdgpu_gfxhub_funcs)->get_mc_fb_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| 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->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->flags | 131072-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 |
| PARAM_VALUE | 0 | adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530 |
| PARAM_VALUE | 0 | adev->gfxhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.mall_size | 0,16777216,33554432,100663296,134217728 |
| PARAM_VALUE | 0 | adev->gmc.mc_mask | 281474976710655 |
| PARAM_VALUE | 0 | adev->gmc.pte_addr_mask | 281474976706560 |
| PARAM_VALUE | 0 | adev->gmc.real_vram_size | 0-18446744073708503040 |
| PARAM_VALUE | 0 | adev->gmc.visible_vram_size | 0-18446744073708503040 |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.enabled_types | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.funcs | 1-u64max |
| PARAM_VALUE | 0 | adev->gmc.vram_type | 0,2,5-13 |
| PARAM_VALUE | 0 | adev->gmc.vram_vendor | 0-15 |
| 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 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->list.prev->prev | 0,5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | adev->mes.mutex_hidden.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | adev->mmhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->nbio.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev | 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 | 0 | adev->xcp_mgr->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530 |
| PARAM_VALUE | 0 | *adev->doorbell_index.sdma_engine | 0-4294967295 |
| DATA_SOURCE | 0 | adev | $0 |
| FUZZY_MAX | 0 | adev->gmc.mall_size | 134217728 |
| FUZZY_MAX | 0 | adev->gmc.vram_type | 9 |
| CONTAINER | 0 | -8-0-111648+0 | $(-1) |
| BIT_INFO | 0 | adev->gmc.mall_size | 0x0,0xf000000 |
| BIT_INFO | 0 | adev->gmc.vram_width | 0x0,0x7fffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| HARD_MAX | 0 | adev->gmc.mall_size | 134217728 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.aper_base | 0,16777216-72057594021150720 |
| HOST_DATA | 0 | adev->gmc.fb_start | 0-u64max |
| HOST_DATA | 0 | adev->gmc.visible_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.vram_start | 0-u64max |
| HOST_DATA | 0 | adev->gmc.vram_vendor | 0-15 |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.ecc_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.vm_fault.num_types |
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_mc_init() -> (struct amdgpu_gfxhub_funcs)->get_mc_fb_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->df.funcs->get_hbm_channel_number | 0,4494141108923559936,6460537183284965376 |
| PARAM_VALUE | 0 | adev->gfxhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.mc_mask | 281474976710655 |
| PARAM_VALUE | 0 | adev->gmc.pte_addr_mask | 281474976706560 |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.enabled_types | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.funcs | 1-u64max |
| PARAM_VALUE | 0 | adev->gmc.vram_type | 0,2,5-13 |
| PARAM_VALUE | 0 | adev->gmc.vram_vendor | 0-15 |
| PARAM_VALUE | 0 | adev->gmc.xgmi.supported | 1 |
| PARAM_VALUE | 0 | adev->mmhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev | 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 |
| DATA_SOURCE | 0 | adev | $0 |
| CONTAINER | 0 | -8-0-111648+0 | $(-1) |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.mc_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.real_vram_size | 0-4503599626321920[c] |
| HOST_DATA | 0 | adev->gmc.vram_vendor | 0-15 |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.ecc_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.vm_fault.num_types |
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_vram_gtt_location() -> (struct amdgpu_gfxhub_funcs)->get_mc_fb_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200 |
| PARAM_VALUE | 0 | adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896 |
| 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->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adev->df.funcs->get_hbm_channel_number | 0,4494141108923559936,6460537183284965376 |
| 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 |
| PARAM_VALUE | 0 | adev->gfxhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.mc_mask | 281474976710655 |
| PARAM_VALUE | 0 | adev->gmc.pte_addr_mask | 281474976706560 |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.enabled_types | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.vm_fault.funcs | 1-u64max |
| PARAM_VALUE | 0 | adev->gmc.vram_type | 0,2,5-13 |
| PARAM_VALUE | 0 | adev->gmc.vram_vendor | 0-15 |
| PARAM_VALUE | 0 | adev->gmc.xgmi.connected_to_cpu | 0 |
| 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 |
| PARAM_VALUE | 0 | adev->mmhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->mode_info.atom_context | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev | 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 |
| PARAM_VALUE | 0 | *adev->doorbell_index.sdma_engine | 0-4294967295 |
| DATA_SOURCE | 0 | adev | $0 |
| CONTAINER | 0 | -8-0-111648+0 | $(-1) |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.aper_base | 0-u64max[c] |
| HOST_DATA | 0 | adev->gmc.fb_end | 0,16777216-281474959933440[c] |
| HOST_DATA | 0 | adev->gmc.fb_start | 0,16777216-281474959933440[c] |
| HOST_DATA | 0 | adev->gmc.vram_vendor | 0-15 |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.ecc_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gmc.vm_fault.num_types |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_virt_resume() -> (struct amdgpu_gfxhub_funcs)->get_mc_fb_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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->dev | 0,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->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 |
| PARAM_VALUE | 0 | adev->gfxhub.funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.xgmi.num_physical_nodes | 1-16 |
| 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 |
| PARAM_VALUE | 0 | adev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->pdev->error_state | 0-2,4-u32max |
| 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->virt.is_xgmi_node_migrate_enabled | 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 |
| CAPPED_DATA | 0 | adev->gmc.xgmi.num_physical_nodes | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| CONTAINER | 0 | -8-0-111648+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.xgmi.node_segment_size | 0,16777216-2199006478336[c] |
| 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 | global &vgasr_mutex |