Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/xe/xe_pagefault.c, line 276
- drivers/gpu/drm/xe/xe_svm.c, line 1274
- drivers/gpu/drm/xe/xe_userptr.c
- drivers/gpu/drm/xe/xe_vm.c
Smatch caller information:
drivers/gpu/drm/xe/xe_pagefault.c xe_pagefault_service() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| DATA_SOURCE | 0 | vma | r xe_vm_find_vma_by_addr |
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_vm.c prefetch_ranges() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->gpuva.flags | 2048-u32max |
| DATA_SOURCE | 0 | vma | r gpuva_to_vma |
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_vm.c vm_bind_ioctl_ops_create() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| PARAM_VALUE | 0 | vma->gpuva.flags | 2048-u32max |
| DATA_SOURCE | 0 | vma | r gpuva_to_vma |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_vm.c xe_vm_snapshot_capture() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| DATA_SOURCE | 0 | vma | r gpuva_to_vma |
| LOCK2 | &coredump->lock | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vm->snap_mutex | ||
| TYPE_LOCK | (struct xe_devcoredump)->lock | ||
| TYPE_LOCK | (struct xe_vm)->snap_mutex |
drivers/gpu/drm/xe/xe_vm.c xelp_pte_encode_vma() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| DATA_SOURCE | 0 | vma | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_complete_tlb_inval() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_do_inval() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| HALF_LOCKED2 | &vm->svm.gpusvm.notifier_lock | ||
| TYPE_LOCK | (struct drm_gpusvm)->notifier_lock |
drivers/gpu/drm/xe/xe_userptr.c xe_vma_userptr_pin_pages() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| BUF_SIZE | 0 | vma | 416 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |
drivers/gpu/drm/xe/xe_svm.c __xe_svm_handle_pagefault() -> xe_vma_read_only()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vma | 4096-ptr_max |
| DATA_SOURCE | 0 | vma | $1 |
| LOCK2 | &vm->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xe_vm)->lock |