Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c build_pt_update_batch_sram() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe->drm.dev->dma_io_tlb_mem->can_grow | 0-1 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 0-1 |
| PARAM_VALUE | 4 | devmem | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| DATA_SOURCE | 3 | pt_level | $5 |
| CONTAINER | 0 | *(-16-2376-32-0+0+8) | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_migrate.c emit_pte() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe->drm.mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264,1135616218159751168,1435312838172803072,1559742614509715456,1682444203744997376,2792895115794366464,3649211429048074240,4264110321136541696,4348468181405868032-s64max |
| PARAM_VALUE | 0 | xe->ttm.dev_mapping->host->i_sb->s_export_op->encode_fh | 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max |
| PARAM_VALUE | 0 | xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | xe->ttm.dev_mapping->host->i_sb->s_export_op->fh_to_parent | 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | xe->ttm.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 0 |
| PARAM_VALUE | 5 | flags | 0,256 |
| DATA_SOURCE | 2 | pat_index | r xe_migrate_pat_index |
| FUZZY_MAX | 5 | flags | 0 |
| BIT_INFO | 5 | flags | 0x0,0x100 |
| BIT_INFO | 5 | flags | 0x0,0x100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | addr | 0-u64max[c] |
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_prepare_vm() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe | 4096-ptr_max |
| PARAM_VALUE | 0 | xe->mem.vram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xe->pat.idx | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 2 |
| PARAM_VALUE | 5 | flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_program_identity() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe | 4096-ptr_max |
| PARAM_VALUE | 0 | xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | xe->mem.vram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xe->pat.idx | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 2 |
| PARAM_VALUE | 4 | devmem | 1 |
| PARAM_VALUE | 5 | flags | 0 |
| DATA_SOURCE | 0 | xe | $0 |
| DATA_SOURCE | 2 | pat_index | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_program_identity() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe | 4096-ptr_max |
| PARAM_VALUE | 0 | xe->info.is_dgfx | 1 |
| PARAM_VALUE | 0 | xe->mem.vram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | xe->pat.idx | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 1 |
| PARAM_VALUE | 4 | devmem | 1 |
| PARAM_VALUE | 5 | flags | 0 |
| DATA_SOURCE | 0 | xe | $0 |
| DATA_SOURCE | 2 | pat_index | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_pt.c __xe_pt_empty_pte() -> (struct xe_pt_ops)->pte_encode_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | xe | 4096-ptr_max |
| PARAM_VALUE | 0 | xe->pat.idx | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 0 |
| PARAM_VALUE | 2 | pat_index | 0-3,12,15-16,u16max |
| PARAM_VALUE | 3 | pt_level | 0-2 |
| PARAM_VALUE | 5 | flags | 0 |
| DATA_SOURCE | 3 | pt_level | $2 |
| FUZZY_MAX | 3 | pt_level | 2 |
| HARD_MAX | 3 | pt_level | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |