Documented in 1 files:
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_access_memory() -> xe_migrate_access_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile->xe->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | bo | 0,4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0,64-u64max |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | len | 64 |
| PARAM_VALUE | 5 | write | 0 |
| BUF_SIZE | 3 | buf | 64 |
| BUF_SIZE | 3 | buf | 64 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | bo | $1 |
| DATA_SOURCE | 3 | buf | r _kmalloc_noprof |
| BIT_INFO | 2 | offset | 0x0,0xffffffffffffffc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0,64-u64max[c] |
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_access_memory() -> xe_migrate_access_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile->xe->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 1 | bo | 0,4096-ptr_max |
| PARAM_VALUE | 2 | offset | 0,64-u64max |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | len | 64 |
| PARAM_VALUE | 5 | write | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | buf | 64 |
| BUF_SIZE | 3 | buf | 64 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 1 | bo | $1 |
| DATA_SOURCE | 3 | buf | r _kmalloc_noprof |
| DATA_SOURCE | 5 | write | $5 |
| BIT_INFO | 2 | offset | 0x0,0xffffffffffffffc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | offset | 0,64-u64max[c] |
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_bo.c xe_ttm_access_memory() -> xe_migrate_access_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bo | 4096-ptr_max |
| PARAM_VALUE | 1 | bo->ttm.resource | 4096-ptr_max |
| PARAM_VALUE | 4 | len | 1-s32max |
| BUF_SIZE | 3 | buf | (-1),4,8,15,24,64,128,168-s32max |
| BUF_SIZE | 3 | buf | (-1),4,8,15,24,64,128,168-s32max |
| DATA_SOURCE | 0 | m | r mem_type_to_migrate |
| DATA_SOURCE | 1 | bo | r ttm_to_xe_bo |
| DATA_SOURCE | 2 | offset | $1 |
| DATA_SOURCE | 3 | buf | $2 |
| DATA_SOURCE | 4 | len | $3 |
| DATA_SOURCE | 5 | write | $4 |
| FUZZY_MAX | 4 | len | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 3 | *buf | s64min-s64max |
| USER_DATA | 2 | offset | 0-u64max[c] |
| USER_DATA | 4 | len | 1-4096 |
| USER_PTR | 3 | buf | |
| LOCK2 | ttm_bo->base.resv | ||
| HALF_LOCKED2 | &pool->lock |