Defined in 2 files as a function:
- drivers/gpu/drm/i915/gt/intel_migrate.c, line 581 (as a function)
- drivers/gpu/drm/xe/xe_migrate.c, line 823 (as a function)
Referenced in 3 files:
- drivers/gpu/drm/i915/gt/intel_migrate.c, line 805
- drivers/gpu/drm/xe/tests/xe_migrate.c, line 448
- drivers/gpu/drm/xe/xe_migrate.c
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->bo | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->cs | 4096-ptr_max |
| PARAM_VALUE | 5 | pitch | 4096 |
| BUF_SIZE | 1 | dst_offset | 24 |
| DATA_SOURCE | 1 | dst_offset | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | size | 0-8388608[c] |
| NO_OVERFLOW_SIMPLE | 4 | size | |
| 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 blt_copy() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->bo | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->cs | 4096-ptr_max |
| PARAM_VALUE | 5 | pitch | 4096 |
| BUF_SIZE | 1 | dst_offset | 24 |
| DATA_SOURCE | 1 | dst_offset | r xe_bb_new |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 4 | size | |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->bo | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->cs | 4096-ptr_max |
| PARAM_VALUE | 4 | size | 1-u32max |
| PARAM_VALUE | 5 | pitch | 1,4,256,4096 |
| BUF_SIZE | 1 | dst_offset | 24 |
| DATA_SOURCE | 1 | dst_offset | r xe_bb_new |
| DATA_SOURCE | 4 | size | $1 |
| DATA_SOURCE | 5 | pitch | r xe_migrate_copy_pitch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | size | 1-8388608[c] |
| NO_OVERFLOW_SIMPLE | 4 | size | |
| UNITS | 2 | src_offset | unit_byte |
| UNITS | 3 | size | unit_byte |
| UNITS | 4 | size | unit_byte |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->bo | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->cs | 4096-ptr_max |
| PARAM_VALUE | 5 | pitch | 4096 |
| BUF_SIZE | 1 | dst_offset | 24 |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 1 | dst_offset | r xe_bb_new |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 4 | size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->bo | 4096-ptr_max |
| PARAM_VALUE | 1 | dst_offset->cs | 4096-ptr_max |
| PARAM_VALUE | 5 | pitch | 4096 |
| BUF_SIZE | 1 | dst_offset | 24 |
| CAPPED_DATA | 4 | size | 1 |
| DATA_SOURCE | 1 | dst_offset | r xe_bb_new |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 4 | size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |
drivers/gpu/drm/i915/gt/intel_migrate.c intel_context_migrate_copy() -> emit_copy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->batch | 0 |
| PARAM_VALUE | 0 | rq->context | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->active.cache->timeline | 0-s64max |
| PARAM_VALUE | 0 | rq->context->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->parallel.parent->active.cache->timeline | 0-s64max |
| PARAM_VALUE | 0 | rq->context->timeline | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->vm | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->vm->pte_encode | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->wakeref->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->wakeref->dead | 0-1 |
| PARAM_VALUE | 0 | rq->context->wakeref->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->guc_prio | 255 |
| PARAM_VALUE | 0 | rq->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->rcustate | 0,4-u64max |
| PARAM_VALUE | 0 | rq->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sched.attr.priority | s32min |
| PARAM_VALUE | 0 | rq->timeline | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->watchdog.timer._softexpires | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->watchdog.timer.function | 1-u64max |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_hard | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_lazy | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_queued | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_rel | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_soft | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.expires | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.node.prev | 0 |
| PARAM_VALUE | 1 | dst_offset | 0,8388608,16777216 |
| PARAM_VALUE | 2 | src_offset | 0,8388608 |
| PARAM_VALUE | 3 | size | 4096,8192,65536,69632-s32max |
| CAPPED_DATA | 0 | rq->context | 1 |
| CAPPED_DATA | 0 | rq->engine | 1 |
| CAPPED_DATA | 0 | rq->ring | 1 |
| CAPPED_DATA | 0 | rq->timeline | 1 |
| CAPPED_DATA | 3 | size | 1 |
| DATA_SOURCE | 0 | rq | r i915_request_create |
| DATA_SOURCE | 3 | size | r emit_pte |
| FUZZY_MAX | 1 | dst_offset | 16777216 |
| FUZZY_MAX | 2 | src_offset | 8388608 |
| BIT_INFO | 1 | dst_offset | 0x0,0x1800000 |
| BIT_INFO | 2 | src_offset | 0x0,0x800000 |
| HARD_MAX | 1 | dst_offset | 16777216 |
| HARD_MAX | 2 | src_offset | 8388608 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->size | |
| HALF_LOCKED2 | dst->base.resv | ||
| HALF_LOCKED2 | src->base.resv |