Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c gmc_v6_0_mc_init() -> amdgpu_device_resize_fb_bar()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 0-4
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->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 adev->dev->devres_head.prev->next->next 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->gmc.mc_mask 1099511627775
PARAM_VALUE 0 adev->gmc.mc_vram_size 0-4503599626321920
PARAM_VALUE 0 adev->gmc.pte_addr_mask 1099511623680
PARAM_VALUE 0 adev->gmc.real_vram_size 0-4503599626321920
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-5,7
PARAM_VALUE 0 adev->gmc.vram_width 16-1024
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 1
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->vmhubs_mask 4096-ptr_max
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gmc.vram_type 0
FUZZY_MAX 0 adev->gmc.vram_width 1024
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
HARD_MAX 0 adev->gmc.vram_width 1024
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]
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_mc_init() -> amdgpu_device_resize_fb_bar()

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->gmc.xgmi.connected_to_cpu 0
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->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
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
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_v8_0.c gmc_v8_0_mc_init() -> amdgpu_device_resize_fb_bar()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 11-18
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->gmc.mc_mask 1099511627775
PARAM_VALUE 0 adev->gmc.mc_vram_size 0-4503599626321920
PARAM_VALUE 0 adev->gmc.pte_addr_mask 1099511623680
PARAM_VALUE 0 adev->gmc.real_vram_size 0-4503599626321920
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-7
PARAM_VALUE 0 adev->gmc.vram_width 1-u32max
PARAM_VALUE 0 adev->mode_info.atom_context 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.atom_context->bios 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 1
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->vmhubs_mask 4096-ptr_max
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->asic_type 18
FUZZY_MAX 0 adev->gmc.vram_type 0
FUZZY_MAX 0 adev->gmc.vram_width 1024
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
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]
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types

drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c gmc_v10_0_mc_init() -> amdgpu_device_resize_fb_bar()

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->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
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
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.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_mc_init() -> amdgpu_device_resize_fb_bar()

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.connected_to_cpu 0
PARAM_VALUE 0 adev->mmhub.funcs 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.atom_context 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
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
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_v7_0.c gmc_v7_0_mc_init() -> amdgpu_device_resize_fb_bar()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 5-10
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->gmc.mc_mask 1099511627775
PARAM_VALUE 0 adev->gmc.mc_vram_size 0-4503599626321920
PARAM_VALUE 0 adev->gmc.pte_addr_mask 1099511623680
PARAM_VALUE 0 adev->gmc.real_vram_size 0-4503599626321920
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-7
PARAM_VALUE 0 adev->gmc.vram_width 1-u32max
PARAM_VALUE 0 adev->mode_info.atom_context 4096-ptr_max
PARAM_VALUE 0 adev->mode_info.atom_context->bios 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 1
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->vmhubs_mask 4096-ptr_max
DATA_SOURCE 0 adev $0
FUZZY_MAX 0 adev->gmc.vram_type 0
FUZZY_MAX 0 adev->gmc.vram_width 1024
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
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]
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c gmc_v11_0_mc_init() -> amdgpu_device_resize_fb_bar()

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->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->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
BIT_INFO 0 adev->flags 0x0,0xfffffffffffdffff
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.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