Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_backend_bind() -> amdgpu_gart_bind()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 1 offset 0,4096-18446744073709547520
PARAM_VALUE 4 flags 0,32-u64max
BUF_SIZE 3 dma_addr 1-s32max
DATA_SOURCE 0 adev r amdgpu_ttm_adev
DATA_SOURCE 4 flags r amdgpu_ttm_tt_pte_flags
BIT_INFO 1 offset 0x0,0xfffffffffffff000
BIT_INFO 1 offset 0x0,0xfffffffffffff000
BIT_INFO 4 flags 0x20,0xffffffffffffffff
BIT_INFO 4 flags 0x20,0xffffffffffffffff
NOSPEC 2 pages
NOSPEC 2 pages
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 pages 0-s32max[c]
NO_OVERFLOW_SIMPLE 2 pages
UNITS 1 offset unit_byte
HALF_LOCKED2 bo->base.resv

drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c amdgpu_ttm_gart_bind() -> amdgpu_gart_bind()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 4 flags 0,8-u64max
BUF_SIZE 3 dma_addr 1-s32max
DATA_SOURCE 0 adev $0
DATA_SOURCE 4 flags $2 [m]
BIT_INFO 4 flags 0x20,0xffffffffffffffff
BIT_INFO 4 flags 0x20,0xffffffffffffffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 offset unit_byte
HALF_LOCKED2 &mgr->lock