Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_gpusvm.c, line 1690
- drivers/gpu/drm/xe/xe_svm.c, line 1601
- drivers/gpu/drm/xe/xe_userptr.c, line 94
Smatch caller information:
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_pin_pages() -> drm_gpusvm_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | notifier | 4096-ptr_max |
| PARAM_VALUE | 6 | ctx | 6587402909278572544 |
| PARAM_VALUE | 6 | ctx->allow_mixed | 1 |
| PARAM_VALUE | 6 | ctx->devmem_only | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | mm | unit_byte |
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c xe_svm_range_get_pages() -> drm_gpusvm_get_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gpusvm | 4096-ptr_max |
| PARAM_VALUE | 1 | svm_pages | 4096-ptr_max |
| PARAM_VALUE | 2 | mm->mmap_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | mm->mmap_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 3 | notifier | 4096-ptr_max |
| PARAM_VALUE | 6 | ctx->check_pages_threshold | 0,65536 |
| PARAM_VALUE | 6 | ctx->timeslice_ms | 0-68719476720 |
| BUF_SIZE | 6 | ctx | (-1),32 |
| BUF_SIZE | 6 | ctx | (-1),32 |
| DATA_SOURCE | 6 | ctx | $2 |
| UNITS | 2 | mm | unit_byte |
| HALF_LOCKED2 | &range->lock | ||
| HALF_LOCKED2 | _T->lock |