Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/xe/tests/xe_migrate.c
- drivers/gpu/drm/xe/xe_gsc.c
- drivers/gpu/drm/xe/xe_gsc_submit.c
- drivers/gpu/drm/xe/xe_gt.c
- drivers/gpu/drm/xe/xe_migrate.c
- drivers/gpu/drm/xe/xe_oa.c
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pt_update->vops->vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_update_pgtables() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &vm->lock |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_sanity_test() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| NOCHECK_CALL | |||
| 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() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fence->ops->wait | 0,4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r dma_fence_get |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_gsc.c emit_gsc_upload() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_gsc.c emit_gsc_upload() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_oa.c free_oa_config_bo() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | fence | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| TYPE_LOCK | (struct xe_oa_gt)->gt_lock |
drivers/gpu/drm/xe/xe_oa.c xe_oa_load_with_lri() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 4096-ptr_max |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| DATA_SOURCE | 1 | fence | r xe_oa_submit_bb |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| TYPE_LOCK | (struct xe_oa_gt)->gt_lock |
drivers/gpu/drm/xe/xe_oa.c xe_oa_load_with_lri() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ¶m.hwe->gt->oa.gt_lock | ||
| TYPE_LOCK | (struct xe_oa_gt)->gt_lock |
drivers/gpu/drm/xe/xe_gt.c emit_nop_job() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_gt.c emit_wa_job() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_gsc_submit.c xe_gsc_pkt_submit_kernel() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &gsc->proxy.mutex |
drivers/gpu/drm/xe/xe_gsc_submit.c xe_gsc_pkt_submit_kernel() -> xe_bb_free()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bb | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->bo | 4096-ptr_max |
| PARAM_VALUE | 0 | bb->cs | 4096-ptr_max |
| PARAM_VALUE | 1 | fence | 0 |
| BUF_SIZE | 0 | bb | 24 |
| DATA_SOURCE | 0 | bb | r xe_bb_new |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &gsc->proxy.mutex |