Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_vram_gtt_location() -> amdgpu_gmc_sysvm_location()

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->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,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->gmc.xgmi.node_segment_size 1-u64max
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->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->virt.is_xgmi_node_migrate_enabled 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
PARAM_VALUE 0 *adev->doorbell_index.sdma_engine 0-4294967295
PARAM_VALUE 1 mc 4096-ptr_max
PARAM_VALUE 1 mc->mc_mask 281474976710655,144115188075855871
PARAM_VALUE 1 mc->pte_addr_mask 281474976706560,4503599627366400
PARAM_VALUE 1 mc->vm_fault.enabled_types 4096-ptr_max
PARAM_VALUE 1 mc->vm_fault.funcs 1-u64max
PARAM_VALUE 1 mc->vram_type 0,2,5-14
PARAM_VALUE 1 mc->vram_vendor 0-15
CAPPED_DATA 0 adev->gmc.visible_vram_size 1
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 mc $1
FUZZY_MAX 0 adev->gmc.mc_mask 144115188075855871
FUZZY_MAX 0 adev->vm_manager.max_level 4
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
NOCHECK_CALL
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
HOST_DATA 1 mc->aper_base 0-u64max[c]
HOST_DATA 1 mc->vram_vendor 0-15
NO_OVERFLOW_SIMPLE 0 adev->gmc.ecc_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types
NO_OVERFLOW_SIMPLE 1 mc->ecc_irq.num_types
NO_OVERFLOW_SIMPLE 1 mc->vm_fault.num_types

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_vram_gtt_location() -> amdgpu_gmc_sysvm_location()

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->dma_mask 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.node_segment_size 1-u64max
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->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
PARAM_VALUE 0 *adev->doorbell_index.sdma_engine 0-4294967295
PARAM_VALUE 1 mc 4096-ptr_max
PARAM_VALUE 1 mc->agp_end 0
PARAM_VALUE 1 mc->agp_size 0
PARAM_VALUE 1 mc->agp_start 281474976710655
PARAM_VALUE 1 mc->mc_mask 281474976710655
PARAM_VALUE 1 mc->pte_addr_mask 281474976706560
PARAM_VALUE 1 mc->vm_fault.enabled_types 4096-ptr_max
PARAM_VALUE 1 mc->vm_fault.funcs 1-u64max
PARAM_VALUE 1 mc->vram_type 0,2,5-13
PARAM_VALUE 1 mc->vram_vendor 0-15
DATA_SOURCE 0 adev $0
DATA_SOURCE 1 mc $1
BIT_INFO 0 adev->virt.caps 0x0,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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
HOST_DATA 1 mc->aper_base 0-u64max[c]
HOST_DATA 1 mc->vram_vendor 0-15
NO_OVERFLOW_SIMPLE 0 adev->gmc.ecc_irq.num_types
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types
NO_OVERFLOW_SIMPLE 1 mc->ecc_irq.num_types
NO_OVERFLOW_SIMPLE 1 mc->vm_fault.num_types