Defined in 2 files as a function:
- drivers/gpu/drm/i915/gt/selftest_mocs.c, line 130 (as a function)
- drivers/gpu/drm/xe/tests/xe_mocs.c, line 77 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_mocs.c check_mocs_engine() -> read_mocs_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->batch | 0 |
| PARAM_VALUE | 0 | rq->context | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->active.cache->timeline | 0-s64max |
| PARAM_VALUE | 0 | rq->context->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->parallel.parent->active.cache->timeline | 0-s64max |
| PARAM_VALUE | 0 | rq->context->timeline | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->wakeref->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | rq->context->wakeref->dead | 0-1 |
| PARAM_VALUE | 0 | rq->context->wakeref->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.cb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->enable_signaling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->get_driver_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->get_timeline_name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->release | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->set_deadline | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->signaled | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.ops->wait | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rq->fence.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | rq->guc_prio | 255 |
| PARAM_VALUE | 0 | rq->link.next | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->rcustate | 0,4-u64max |
| PARAM_VALUE | 0 | rq->ring | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->sched.attr.priority | s32min |
| PARAM_VALUE | 0 | rq->timeline | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->watchdog.timer._softexpires | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.base | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->watchdog.timer.function | 1-u64max |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_hard | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_lazy | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_queued | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_rel | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.is_soft | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.expires | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.node.next | 0 |
| PARAM_VALUE | 0 | rq->watchdog.timer.node.node.prev | 0 |
| PARAM_VALUE | 1 | table | 0,2484928973622841344,4139008550967369728,8726307007010631680 |
| PARAM_VALUE | 2 | offset | 5332446822451253248 |
| CAPPED_DATA | 0 | rq->context | 1 |
| CAPPED_DATA | 0 | rq->engine | 1 |
| CAPPED_DATA | 0 | rq->ring | 1 |
| DATA_SOURCE | 0 | rq | r intel_context_create_request |
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size |
drivers/gpu/drm/xe/xe_mocs.c mocs_kernel_test_run_device() -> read_mocs_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | table | 7511576499659218944 |
| PARAM_VALUE | 1 | table->num_mocs_regs | 0,3,16,63-64 |
| PARAM_VALUE | 1 | table->ops | 0,1082634254989787136,3301265083661537280,3354459976771522560,4173531983277469696,6630245444985249792 |
| PARAM_VALUE | 1 | table->table | 0,66048546607026176,273499574750625792,3592522155409141760,4125991721900695552,4468383506409730048,6014012908279160832,6598511767183622144 |
| PARAM_VALUE | 1 | table->table_size | 0,3-5,16,64 |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 0-5 |
| PARAM_VALUE | 1 | table->wb_index | 0,2,4 |
| DATA_SOURCE | 0 | rq | r xe_device_get_gt |
| MEM_ZERO | 1 | table | |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_mocs.c mocs_reset_test_run_device() -> read_mocs_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | table | 7606740459482214400 |
| PARAM_VALUE | 1 | table->num_mocs_regs | 0,3,16,63-64 |
| PARAM_VALUE | 1 | table->ops | 0,1082634254989787136,3301265083661537280,3354459976771522560,4173531983277469696,6630245444985249792 |
| PARAM_VALUE | 1 | table->table | 0,66048546607026176,273499574750625792,3592522155409141760,4125991721900695552,4468383506409730048,6014012908279160832,6598511767183622144 |
| PARAM_VALUE | 1 | table->table_size | 0,3-5,16,64 |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 0-5 |
| PARAM_VALUE | 1 | table->wb_index | 0,2,4 |
| DATA_SOURCE | 0 | rq | r xe_device_get_gt |
| MEM_ZERO | 1 | table | |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_mocs.c mocs_reset_test_run_device() -> read_mocs_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->tile | 4096-ptr_max |
| PARAM_VALUE | 1 | table | 7606740459482214400 |
| PARAM_VALUE | 1 | table->num_mocs_regs | 0,3,16,63-64 |
| PARAM_VALUE | 1 | table->ops | 0,1082634254989787136,3301265083661537280,3354459976771522560,4173531983277469696,6630245444985249792 |
| PARAM_VALUE | 1 | table->table | 0,66048546607026176,273499574750625792,3592522155409141760,4125991721900695552,4468383506409730048,6014012908279160832,6598511767183622144 |
| PARAM_VALUE | 1 | table->table_size | 0,3-5,16,64 |
| PARAM_VALUE | 1 | table->uc_index | 0-1,3,9 |
| PARAM_VALUE | 1 | table->unused_entries_index | 0-5 |
| PARAM_VALUE | 1 | table->wb_index | 0,2,4 |
| DATA_SOURCE | 0 | rq | r xe_device_get_gt |
| MEM_ZERO | 1 | table | |
| NOCHECK_CALL |