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_mc_init() -> (struct amdgpu_mmhub_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->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->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.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->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->mes.mutex_hidden.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gmc.mc_mask 144115188075855871
FUZZY_MAX 0 adev->vm_manager.max_level 4
CONTAINER 0 -8-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.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_v12_0.c gmc_v12_0_vram_gtt_location() -> (struct amdgpu_mmhub_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->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.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_start 0,16777216-72057594021150720,72057594037927936,72057594054705152-144115188059078656
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.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->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
PARAM_VALUE 0 *adev->doorbell_index.sdma_engine 0-4294967295
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gmc.mc_mask 144115188075855871
FUZZY_MAX 0 adev->vm_manager.max_level 4
CONTAINER 0 -8-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,0xfffffffb
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.fb_end 0,16777216-281474959933440[c]
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,16777216-72057594021150720,72057594037927936,7205759405470515
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_mc_init() -> (struct amdgpu_mmhub_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.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
CONTAINER 0 -8-8-111608+0 $(-1)
BIT_INFO 0 adev->flags 0x20000,0xffffffffffffffff
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
BIT_INFO 0 adev->virt.caps 0x0,0xfffffff7
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_v11_0.c gmc_v11_0_vram_gtt_location() -> (struct amdgpu_mmhub_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.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_start 0,16777216-72057594021150720,72057594037927936,72057594054705152-144115188059078656
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->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
PARAM_VALUE 0 *adev->doorbell_index.sdma_engine 0-4294967295
DATA_SOURCE 0 adev $0
CONTAINER 0 -8-8-111608+0 $(-1)
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
BIT_INFO 0 adev->virt.caps 0x0,0xfffffffb
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 adev->gmc.aper_base 0,16777216-72057594021150720[c]
HOST_DATA 0 adev->gmc.fb_end 0,16777216-281474959933440[c]
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,16777216-72057594021150720,72057594037927936,7205759405470515
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