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_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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->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->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 64
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 1
PARAM_VALUE 4 max_bits 40
FUZZY_MAX 0 adev->gmc.vram_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfxhub.funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.vram_type 0,2,5-14
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v12_0.c gmc_v12_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfxhub.funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.vram_type 0,2,5-14
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 1 min_vm_size 134217728
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 4
PARAM_VALUE 4 max_bits 57
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c gmc_v8_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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->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->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 64
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 1
PARAM_VALUE 4 max_bits 40
FUZZY_MAX 0 adev->gmc.vram_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c gmc_v10_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
FUZZY_MAX 0 adev->gmc.mall_size 134217728
FUZZY_MAX 0 adev->gmc.vram_type 9
BIT_INFO 0 adev->gmc.mall_size 0x0,0xf000000
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
HARD_MAX 0 adev->gmc.mall_size 134217728
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->rev_id 0-1
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
FUZZY_MAX 0 adev->rev_id 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->rev_id 2-u32max
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 131584
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 2
PARAM_VALUE 4 max_bits 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c gmc_v9_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 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.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c gmc_v7_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
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->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->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 64
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 1
PARAM_VALUE 4 max_bits 40
FUZZY_MAX 0 adev->gmc.vram_type 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 adev->gmc.vm_fault.num_types
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c gmc_v11_0_sw_init() -> amdgpu_vm_adjust_size()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfxhub.funcs 4096-ptr_max
PARAM_VALUE 0 adev->gmc.vram_type 0,2,5-13
PARAM_VALUE 0 adev->gmc.vram_vendor 0-15
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
PARAM_VALUE 0 adev->vmhubs_mask 4096-ptr_max
PARAM_VALUE 1 min_vm_size 262144
PARAM_VALUE 2 fragment_size_default 9
PARAM_VALUE 3 max_level 3
PARAM_VALUE 4 max_bits 48
BIT_INFO 0 adev->gmc.vram_width 0x0,0x7fffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 adev->gmc.vram_vendor 0-15
HALF_LOCKED2 &pool->lock