Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | cur | 6498660035931164672 |
| PARAM_VALUE | 4 | L0 | 8999201095204147200 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 8877218402457350144 |
| PARAM_VALUE | 6 | L0_pt | 6519476826979930112 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 2 | res | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | cur->size | 1-9223372036854775799[c] |
| USER_DATA | 3 | cur->start | 0-u64max[c] |
| USER_DATA | 4 | *L0 | 0-8388608[c] |
| NO_OVERFLOW_SIMPLE | 2 | res->size | |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| USER_PTR | 4 | L0 | |
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-1 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | cur | 3978167205041451008 |
| PARAM_VALUE | 4 | L0 | 8999201095204147200 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 6654623678550548480 |
| PARAM_VALUE | 6 | L0_pt | 5682515919929737216 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 2 | res | $4 |
| FUZZY_MAX | 1 | flags | 1 |
| NOSPEC | 2 | res->size | |
| HARD_MAX | 1 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | res->bo->base.size | 0-u64max[c] |
| USER_DATA | 2 | res->bo->base.vma_node.vm_node.size | 1-s32max[c] |
| USER_DATA | 2 | res->bo->base.vma_node.vm_node.start | 0-s32max[c] |
| USER_DATA | 2 | res->bo->page_alignment | 0-u32max |
| USER_DATA | 2 | res->size | 0-u64max[c] |
| USER_DATA | 3 | cur->size | 1-9223372036854775799[c] |
| USER_DATA | 3 | cur->start | 0-u64max[c] |
| USER_DATA | 4 | *L0 | 0-8388608[c] |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| USER_PTR | 4 | L0 | |
| HALF_LOCKED2 | &vm->lock | ||
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c __xe_migrate_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | res | 0 |
| PARAM_VALUE | 3 | cur | 7381848964579667968 |
| PARAM_VALUE | 4 | L0 | 5580102850738262016 |
| PARAM_VALUE | 4 | *L0 | 0-u32max |
| PARAM_VALUE | 5 | L0_ofs | 2295584725766012928 |
| PARAM_VALUE | 6 | L0_pt | 3213335645031071744 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| DATA_SOURCE | 0 | m | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,3 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | cur | 7079977952256798720 |
| PARAM_VALUE | 4 | L0 | 7774997832549883904 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 7144014623512346624 |
| PARAM_VALUE | 6 | L0_pt | 5024890208263565312 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| FUZZY_MAX | 1 | flags | 3 |
| HARD_MAX | 1 | flags | 3 |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 3 | cur->start | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| HALF_LOCKED2 | dst_bo->ttm.base.resv | ||
| HALF_LOCKED2 | src_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c blt_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0,3 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | cur | 1358435098032996352 |
| PARAM_VALUE | 4 | L0 | 7774997832549883904 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 3752424054118612992 |
| PARAM_VALUE | 6 | L0_pt | 4852660390189735936 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| FUZZY_MAX | 1 | flags | 3 |
| HARD_MAX | 1 | flags | 3 |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 3 | cur->start | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| 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() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->mem_type | 1 |
| PARAM_VALUE | 3 | cur | 6964722387946123264 |
| PARAM_VALUE | 3 | cur->size | 1-u32max |
| PARAM_VALUE | 3 | cur->start | 0-4294967294 |
| PARAM_VALUE | 4 | L0 | 7083673636944973824 |
| PARAM_VALUE | 4 | *L0 | 1-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 1922875963944624128 |
| PARAM_VALUE | 6 | L0_pt | 3688052853162110976 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| DATA_SOURCE | 2 | res | $3 |
| NOSPEC | 2 | res->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | res->size | 0-u64max[c] |
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | res | 0 |
| PARAM_VALUE | 3 | cur | 3766215763026386944 |
| PARAM_VALUE | 3 | cur->size | 1-u32max |
| PARAM_VALUE | 3 | cur->start | 0-4294967294 |
| PARAM_VALUE | 4 | L0 | 2439042785755803648 |
| PARAM_VALUE | 4 | *L0 | 0-u32max |
| PARAM_VALUE | 5 | L0_ofs | 5442757388181426176 |
| PARAM_VALUE | 6 | L0_pt | 4716476803546681344 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 2 | res->mem_type | 1 |
| PARAM_VALUE | 3 | cur | 6964722387946123264 |
| PARAM_VALUE | 4 | L0 | 7083673636944973824 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 1922875963944624128 |
| PARAM_VALUE | 6 | L0_pt | 3688052853162110976 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| DATA_SOURCE | 2 | res | $3 |
| NOSPEC | 2 | res->size | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | res->size | 0-u64max[c] |
| USER_DATA | 3 | cur->size | 1-9223372036854775799[c] |
| USER_DATA | 3 | cur->start | 0-u64max[c] |
| USER_DATA | 4 | *L0 | 0-8388608[c] |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| USER_PTR | 4 | L0 | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_ccs_rw_copy() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 2 | res | 0 |
| PARAM_VALUE | 3 | cur | 3766215763026386944 |
| PARAM_VALUE | 4 | L0 | 2439042785755803648 |
| PARAM_VALUE | 4 | *L0 | 0-u32max |
| PARAM_VALUE | 5 | L0_ofs | 5442757388181426176 |
| PARAM_VALUE | 6 | L0_pt | 4716476803546681344 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | cur->size | 1-9223372036854775799[c] |
| USER_DATA | 3 | cur->start | 0-u64max[c] |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | ttm_bo->base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_clear() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0-1 |
| PARAM_VALUE | 2 | res | 4096-ptr_max |
| PARAM_VALUE | 3 | cur | 7567903690845171712 |
| PARAM_VALUE | 4 | L0 | 1213796792149233664 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 5061732050018787328 |
| PARAM_VALUE | 6 | L0_pt | 5021288676749426688 |
| PARAM_VALUE | 7 | cmd_size | 0,7,11,16 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| DATA_SOURCE | 0 | m | $0 |
| DATA_SOURCE | 2 | res | $2 |
| FUZZY_MAX | 1 | flags | 1 |
| FUZZY_MAX | 7 | cmd_size | 0 |
| NOSPEC | 2 | res->size | |
| HARD_MAX | 1 | flags | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | res->size | 0-u64max[c] |
| USER_DATA | 3 | cur->size | 1-9223372036854775799[c] |
| USER_DATA | 3 | cur->start | 0-u64max[c] |
| USER_DATA | 4 | *L0 | 0-8388608[c] |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| USER_PTR | 4 | L0 | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1,3 |
| PARAM_VALUE | 3 | cur | 642575335531249664 |
| PARAM_VALUE | 4 | L0 | 8838874210261573632 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 5952814665219862528 |
| PARAM_VALUE | 6 | L0_pt | 4455794471067435008 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| PARAM_VALUE | 8 | pt_ofs | 0 |
| BIT_INFO | 1 | flags | 0x1,0x3 |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 3 | cur->size | |
| NO_OVERFLOW_SIMPLE | 3 | cur->start | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |
drivers/gpu/drm/xe/xe_migrate.c xe_migrate_vram_copy_chunk() -> pte_update_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | m | 4096-ptr_max |
| PARAM_VALUE | 0 | m->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 0 |
| PARAM_VALUE | 3 | cur | 1423404523348004864 |
| PARAM_VALUE | 4 | L0 | 8838874210261573632 |
| PARAM_VALUE | 4 | *L0 | 0-8388608 |
| PARAM_VALUE | 5 | L0_ofs | 9018851337642156032 |
| PARAM_VALUE | 6 | L0_pt | 662774974499475456 |
| PARAM_VALUE | 7 | cmd_size | 0 |
| NO_OVERFLOW_SIMPLE | 3 | cur->remaining | |
| NO_OVERFLOW_SIMPLE | 4 | *L0 | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | sysmem_bo->ttm.base.resv | ||
| HALF_LOCKED2 | vram_bo->ttm.base.resv |