Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> (struct xe_pt_ops)->pte_encode_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 1 bo_offset 0
PARAM_VALUE 2 pat_index 0-3,12,15-16,u16max
PARAM_VALUE 3 pt_level 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_prepare_vm() -> (struct xe_pt_ops)->pte_encode_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 1 bo_offset 0-126976
PARAM_VALUE 2 pat_index 0-3,12,15-16,u16max
PARAM_VALUE 3 pt_level 0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_prepare_vm() -> (struct xe_pt_ops)->pte_encode_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.size 1-u64max
PARAM_VALUE 1 bo_offset 0,4096,65536-u32max
PARAM_VALUE 2 pat_index 0-3,12,15-16,u16max
PARAM_VALUE 3 pt_level 0
CAPPED_DATA 1 bo_offset 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_prepare_vm() -> (struct xe_pt_ops)->pte_encode_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 0 bo->ttm.base.size 1-u64max
PARAM_VALUE 1 bo_offset 0,4096,65536-u32max
PARAM_VALUE 2 pat_index 0-3,12,15-16,u16max
PARAM_VALUE 3 pt_level 0
CAPPED_DATA 1 bo_offset 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_sanity_test() -> (struct xe_pt_ops)->pte_encode_bo()

Type Parameter Key Value
PARAM_VALUE 0 bo 4096-ptr_max
PARAM_VALUE 1 bo_offset 0
PARAM_VALUE 2 pat_index 0-3,12,15-16,u16max
PARAM_VALUE 3 pt_level 0
BUF_SIZE 0 bo 0,1344
BUF_SIZE 0 bo 0,1344
CAPPED_DATA 0 bo 1
CAPPED_DATA 0 bo->ttm.base.resv->fences 1
DATA_SOURCE 0 bo r xe_bo_create_pin_map