Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/xe/xe_bo.c, line 3367
- drivers/gpu/drm/xe/xe_ggtt.c, line 708
- drivers/gpu/drm/xe/xe_lmtt.c, line 495
- drivers/gpu/drm/xe/xe_migrate.c
- drivers/gpu/drm/xe/xe_pt.c, line 863
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c emit_pte() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| DATA_SOURCE | 0 | res | $7 |
| NOSPEC | 0 | res->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | res->bo->base.size | 0-u64max[c] |
| USER_DATA | 0 | res->bo->base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | res->bo->base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 0 | res->bo->page_alignment | 0-u32max |
| USER_DATA | 0 | res->size | 0-u64max[c] |
drivers/gpu/drm/xe/xe_migrate.c pte_update_size() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | res | $2 |
| NOSPEC | 0 | res->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | res->bo->base.size | 0-u64max[c] |
| USER_DATA | 0 | res->bo->base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 0 | res->bo->base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 0 | res->bo->page_alignment | 0-u32max |
| USER_DATA | 0 | res->size | 0-u64max[c] |
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_access_memory() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_lmtt.c lmtt_insert_bo() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_ggtt.c xe_ggtt_map_bo() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->mem_type | 2-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ggtt->lock | ||
| TYPE_LOCK | (struct xe_ggtt)->lock |
drivers/gpu/drm/xe/xe_bo.c __xe_bo_addr() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | res | 4096-ptr_max |
| PARAM_VALUE | 0 | res->mem_type | 2-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/xe/xe_pt.c xe_pt_stage_bind() -> vram_region_gpu_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &vm->lock |