Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 dst_bo->ttm.base.resv
HALF_LOCKED2 src_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &vm->lock

drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
HALF_LOCKED2 dst_bo->ttm.base.resv
HALF_LOCKED2 src_bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c run_sanity_job() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->vm 0,4096-ptr_max
PARAM_VALUE 0 q->vm->pt_ops 4096-ptr_max
PARAM_VALUE 0 q->vm->pt_root 4096-ptr_max
PARAM_VALUE 0 q->vm->svm.gpusvm.notifier_size 0-u32max
PARAM_VALUE 0 q->vm->svm.gpusvm.num_chunks 0,3
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb $2
DATA_SOURCE 2 batch_base_ofs r xe_migrate_batch_base
DATA_SOURCE 3 second_idx $3

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 bo->ttm.base.resv

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> xe_bb_create_migration_job()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 1 bb 4096-ptr_max
PARAM_VALUE 1 bb->bo 4096-ptr_max
PARAM_VALUE 1 bb->cs 4096-ptr_max
BUF_SIZE 1 bb 24
DATA_SOURCE 1 bb r xe_bb_new
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 sysmem_bo->ttm.base.resv
HALF_LOCKED2 vram_bo->ttm.base.resv