Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c amdgpu_gmc_get_pde_for_bo() -> (struct amdgpu_gmc_funcs)->get_vm_pde()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gmc.gmc_funcs 4096-ptr_max
PARAM_VALUE 2 addr 2406535374086717440,3012005793585254400
PARAM_VALUE 3 flags 6056750185980821504,8298276376676933632
PARAM_VALUE 3 *flags 1,3,5,7
DATA_SOURCE 0 adev r amdgpu_ttm_adev
DATA_SOURCE 1 level $1
DATA_SOURCE 2 addr $2
DATA_SOURCE 3 flags $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c amdgpu_vm_pt_clear() -> (struct amdgpu_gmc_funcs)->get_vm_pde()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->asic_type 19-u32max
PARAM_VALUE 0 adev->gmc.gmc_funcs 4096-ptr_max
PARAM_VALUE 1 level s32min-3,5-s32max
PARAM_VALUE 2 addr 7027208191616606208
PARAM_VALUE 2 *addr 0
PARAM_VALUE 3 flags 1798182192529567744
PARAM_VALUE 3 *flags 18014398509481984,9223372036854775808
DATA_SOURCE 0 adev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &vm->eviction_lock
HALF_LOCKED2 &vm->eviction_lock
HALF_LOCKED2 root_bo->tbo.base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c amdgpu_vm_pte_update_flags() -> (struct amdgpu_gmc_funcs)->get_vm_pde()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gmc.gmc_funcs 4096-ptr_max
PARAM_VALUE 1 level 0-3,5
PARAM_VALUE 3 *flags 0,4194304-u64max
DATA_SOURCE 1 level $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &vm->eviction_lock
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &prange->lock
HALF_LOCKED2 &prange->migrate_mutex
HALF_LOCKED2 &svms->lock
TYPE_LOCK (struct amdgpu_vm)->eviction_lock