Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 10
PARAM_VALUE 3 hi 9
PARAM_VALUE 4 size 0
PARAM_VALUE 5 index 0
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 12
PARAM_VALUE 3 hi 11
PARAM_VALUE 4 size 0
PARAM_VALUE 5 index 0
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 3
PARAM_VALUE 3 hi s32min-(-1),2,4-s32max
PARAM_VALUE 4 size 0
PARAM_VALUE 5 index 0
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
CAPPED_DATA 3 hi 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 3
PARAM_VALUE 3 hi s32min-(-1),2,4-s32max
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
CAPPED_DATA 3 hi 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2
DATA_SOURCE 4 size r amdgpu_ib_get_value

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 3
PARAM_VALUE 3 hi s32min-(-1),2,4-s32max
PARAM_VALUE 4 size 4096
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
CAPPED_DATA 3 hi 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 3
PARAM_VALUE 3 hi s32min-(-1),2,4-s32max
PARAM_VALUE 4 size 0
PARAM_VALUE 5 index 0
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
CAPPED_DATA 3 hi 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2

drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_ring_parse_cs() -> amdgpu_vce_validate_bo()

Type Parameter Key Value
PARAM_VALUE 0 p 1894173549278507008
PARAM_VALUE 0 p->adev 4096-ptr_max
PARAM_VALUE 0 p->bo_list 0-1025,1027-1029,1031-ptr_max
PARAM_VALUE 0 p->chunks 4096-ptr_max
PARAM_VALUE 0 p->ctx 4096-ptr_max
PARAM_VALUE 0 p->exec.flags 3
PARAM_VALUE 0 p->exec.ticket.done_acquire 1
PARAM_VALUE 0 p->fence 0
PARAM_VALUE 0 p->filp 4096-ptr_max
PARAM_VALUE 0 p->gang_leader 4096-ptr_max
PARAM_VALUE 0 p->gang_leader_idx 0-s32max
PARAM_VALUE 0 p->gang_size 1-4,6-2147483656
PARAM_VALUE 0 p->mn 0
PARAM_VALUE 0 p->nchunks 0-s32max
PARAM_VALUE 0 p->post_deps 0,16,4096-ptr_max
PARAM_VALUE 0 p->uf_bo 0,4096-ptr_max
PARAM_VALUE 1 ib 4096-ptr_max
PARAM_VALUE 1 ib->length_dw 2-u32max
PARAM_VALUE 2 lo 8
PARAM_VALUE 3 hi 7
PARAM_VALUE 4 size 0
PARAM_VALUE 5 index 0
CAPPED_DATA 0 p->ctx->generation 1
CAPPED_DATA 0 p->gang_size 1
CAPPED_DATA 0 p->nchunks 1
CAPPED_DATA 1 ib->length_dw 1
DATA_SOURCE 0 p $0
DATA_SOURCE 1 ib $2