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_bo.c, line 3359
- drivers/gpu/drm/xe/xe_bo.h, line 563
- drivers/gpu/drm/xe/xe_ggtt.c, line 702
- drivers/gpu/drm/xe/xe_migrate.c
- drivers/gpu/drm/xe/xe_pt.c, line 875
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| CAPPED_DATA | 0 | bo | 1 |
| DATA_SOURCE | 0 | bo | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| CAPPED_DATA | 0 | bo | 1 |
| DATA_SOURCE | 0 | bo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | src_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| BUF_SIZE | 0 | bo | (-1)-0,1336,1344 |
| CAPPED_DATA | 0 | bo | 1 |
| DATA_SOURCE | 0 | bo | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| DATA_SOURCE | 0 | bo | $1 |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| DATA_SOURCE | 0 | bo | $2 |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | src_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| DATA_SOURCE | 0 | bo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| DATA_SOURCE | 0 | bo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| BUF_SIZE | 0 | bo | (-1)-s32max |
| CAPPED_DATA | 0 | bo | 1 |
| DATA_SOURCE | 0 | bo | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_sanity_test() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| 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 |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| DATA_SOURCE | 0 | bo | $2 |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv | ||
| HALF_LOCKED2 | 0 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_guc_ads.c xe_bo_sg_is_contiguous() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1336 |
| BUF_SIZE | 0 | bo | (-1)-0,1336 |
| DATA_SOURCE | 0 | bo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_map_bo() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1344 |
| BUF_SIZE | 0 | bo | (-1)-0,1344 |
| DATA_SOURCE | 0 | bo | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bo->cpu_caching | 1-2[u] |
| USER_DATA | 0 | bo->flags | 1048576-u32max[u] |
| USER_DATA | 0 | bo->ttm.base.size | 0-u64max[c] |
| USER_DATA | 0 | bo->ttm.base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | bo->ttm.base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 0 | bo->ttm.page_alignment | 0-u32max |
| USER_DATA | 0 | bo->ttm.ttm->num_pages | 0[c] |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.base.dev->num_crtcs | |
| NO_OVERFLOW_SIMPLE | 0 | bo->ttm.ttm->dma_ttm.sg->orig_nents | |
| LOCK2 | &ggtt->lock | ||
| TYPE_LOCK | (struct xe_ggtt)->lock |
drivers/gpu/drm/xe/xe_bo.c __xe_bo_addr() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| BUF_SIZE | 0 | bo | (-1)-0,1336 |
| BUF_SIZE | 0 | bo | (-1)-0,1336 |
| DATA_SOURCE | 0 | bo | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/xe/xe_pt.c xe_pt_stage_bind() -> xe_bo_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bo | 4096-ptr_max |
| DATA_SOURCE | 0 | bo | r xe_vma_bo |
| HALF_LOCKED2 | &vm->lock |