Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_access_memory() -> xe_migrate_vram()
| 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 | 0 | m->tile->xe->drm.dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 1 | len | 0-8388608 |
| PARAM_VALUE | 2 | sram_offset | 0-4095 |
| PARAM_VALUE | 3 | sram_addr | 4096-ptr_max |
| PARAM_VALUE | 5 | deps | 0 |
| PARAM_VALUE | 6 | dir | 0-1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | m | $0 |
| FUZZY_MAX | 6 | dir | 1 |
| HARD_MAX | 6 | dir | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | len | 1-8388608[c] |
| USER_DATA | 2 | sram_offset | 0-4095[c] |
| NO_OVERFLOW_SIMPLE | 1 | len | |
| UNITS | 1 | len | unit_byte |
| UNITS | 4 | vram_addr | unit_byte |
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_from_vram() -> xe_migrate_vram()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 2 | sram_offset | 0 |
| PARAM_VALUE | 3 | sram_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | vram_addr | 0-18446744073709551614 |
| PARAM_VALUE | 5 | deps->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 5 | deps->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 6 | dir | 1 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 3 | sram_addr | $3 |
| DATA_SOURCE | 4 | vram_addr | $2 |
| DATA_SOURCE | 5 | deps | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_to_vram() -> xe_migrate_vram()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 2 | sram_offset | 0 |
| PARAM_VALUE | 3 | sram_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | vram_addr | 0-18446744073709551614 |
| PARAM_VALUE | 5 | deps->ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->set_deadline | 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424 |
| PARAM_VALUE | 5 | deps->ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 5 | deps->ops->wait | 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936 |
| PARAM_VALUE | 6 | dir | 0 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 3 | sram_addr | $2 |
| DATA_SOURCE | 4 | vram_addr | $3 |
| DATA_SOURCE | 5 | deps | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &driver_migrate_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |