Documented in 1 files:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/xe/tests/xe_migrate.c
- drivers/gpu/drm/xe/xe_bo.c, line 3359
- 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_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 6498660035931164672 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 3978167205041451008 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0,4096-u64max |
| PARAM_VALUE | 2 | size | 0,4096-u32max |
| PARAM_VALUE | 3 | cur | 7381848964579667968 |
| BIT_INFO | 2 | size | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 7079977952256798720 |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 1358435098032996352 |
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 6964722387946123264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0,4096-u64max |
| PARAM_VALUE | 2 | size | 0,4096-u32max |
| PARAM_VALUE | 3 | cur | 3766215763026386944 |
| BIT_INFO | 2 | size | 0x0,0xfffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 7567903690845171712 |
| 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_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 4721258464358285312 |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 1423404523348004864 |
| CAPPED_DATA | 2 | size | 1 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 1 | start | $3 |
| DATA_SOURCE | 2 | size | $4 [m] |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | size | |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_map_bo() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0 |
| PARAM_VALUE | 3 | cur | 8721054393186246656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | size | 0-u64max[c] |
| LOCK2 | &ggtt->lock | ||
| TYPE_LOCK | (struct xe_ggtt)->lock |
drivers/gpu/drm/xe/xe_bo.c __xe_bo_addr() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | start | 0,4096-18446744073709547520 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | cur | 7525794222312906752 |
| DATA_SOURCE | 2 | size | $2 |
| BIT_INFO | 1 | start | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | start | unit_byte |
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/xe/xe_pt.c xe_pt_stage_bind() -> xe_res_first_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | cur | 3570302231557795840 |
| PARAM_VALUE | 3 | cur->dma_addr | 0 |
| PARAM_VALUE | 3 | cur->mem_type | 0 |
| PARAM_VALUE | 3 | cur->node | 0 |
| PARAM_VALUE | 3 | cur->remaining | 0 |
| PARAM_VALUE | 3 | cur->sgl | 0 |
| PARAM_VALUE | 3 | cur->size | 0 |
| PARAM_VALUE | 3 | cur->start | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &vm->lock |