Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_vram_gtt_location() -> (struct amdgpu_mmhub_funcs)->get_fb_location()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| 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->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 | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gmc.mc_mask | 281474976710655,144115188075855871 |
| PARAM_VALUE | 0 | adev->gmc.pte_addr_mask | 281474976706560,4503599627366400 |
| 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-14 |
| 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,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| 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->vm_manager.block_size | 0-4294967294 |
| PARAM_VALUE | 0 | adev->vm_manager.fragment_size | 0-4294967294 |
| PARAM_VALUE | 0 | adev->vm_manager.max_level | 3-4 |
| PARAM_VALUE | 0 | adev->vm_manager.max_pfn | 0,262144-1125899906580480 |
| PARAM_VALUE | 0 | adev->vm_manager.num_level | 0-4 |
| PARAM_VALUE | 0 | adev->vm_manager.root_level | 0-3 |
| 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 | 0 | *adev->doorbell_index.sdma_engine | 0-4294967295 |
| CAPPED_DATA | 0 | adev->gmc.visible_vram_size | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| FUZZY_MAX | 0 | adev->gmc.mc_mask | 144115188075855871 |
| FUZZY_MAX | 0 | adev->vm_manager.max_level | 4 |
| CONTAINER | 0 | -0-8-111608+0 | $(-1) |
| BIT_INFO | 0 | adev->gmc.mc_mask | 0xffffffffffff,0x1ffffffffffffff |
| BIT_INFO | 0 | adev->gmc.pte_addr_mask | 0xfffffffff000,0xffffffffff000 |
| BIT_INFO | 0 | adev->gmc.vram_width | 0x0,0x7fffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| HARD_MAX | 0 | adev->gmc.mc_mask | 144115188075855871 |
| HARD_MAX | 0 | adev->vm_manager.max_level | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.aper_base | 0-u64max[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_mmhub_funcs)->get_fb_location()
| 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->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->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,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | *adev->doorbell_index.sdma_engine | 0-4294967295 |
| DATA_SOURCE | 0 | adev | $0 |
| CONTAINER | 0 | -0-8-111608+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.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_v11_0.c gmc_v11_0_vram_gtt_location() -> (struct amdgpu_mmhub_funcs)->get_fb_location()
| 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->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 | 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->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->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->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 | 0 | *adev->doorbell_index.sdma_engine | 0-4294967295 |
| CAPPED_DATA | 0 | adev->gmc.visible_vram_size | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| CONTAINER | 0 | -0-8-111608+0 | $(-1) |
| BIT_INFO | 0 | adev->gmc.vram_width | 0x0,0x7fffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | adev->gmc.aper_base | 0,16777216-72057594021150720[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 |