Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/i915/gt/intel_reset.c
- drivers/gpu/drm/i915/gt/selftest_hangcheck.c, line 2023
- drivers/gpu/drm/i915/gt/selftest_mocs.c, line 377
- drivers/gpu/drm/i915/gt/selftest_reset.c, line 387
- drivers/gpu/drm/i915/gt/selftest_workarounds.c
- drivers/gpu/drm/i915/gt/uc/selftest_guc.c, line 59
- drivers/gpu/drm/i915/i915_getparam.c, line 92
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_mocs.c __live_mocs_reset() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915 | 4096-ptr_max |
drivers/gpu/drm/i915/i915_getparam.c i915_getparam_ioctl() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_reset() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->ggtt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->ggtt->num_fences | 0-s32max |
| PARAM_VALUE | 0 | gt->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->empty_dir | 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->get_context | 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->host->i_sb->s_cop->set_context | 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->reset.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->reset.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->reset.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gt->reset.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gt->reset.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->reset.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | gt->reset.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gt->uc.guc.ct.enabled | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.ct.requests.worker.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->uc.guc.fw.__status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.guc.fw.status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.guc.interrupts.enabled | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.mmio_msg | 0 |
| PARAM_VALUE | 0 | gt->uc.guc.sched_engine->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->uc.huc.delayed_load.fence.flags | 0-u32max |
| PARAM_VALUE | 0 | gt->uc.huc.delayed_load.timer.is_queued | 0 |
| PARAM_VALUE | 0 | gt->uc.huc.fw.__status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.huc.fw.status | (-1),1-10 |
| PARAM_VALUE | 0 | gt->uc.ops->fini_fw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.ops->init_fw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uc.reset_in_progress | 1 |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | gt->ggtt->num_fences | 1 |
| CAPPED_DATA | 0 | >->reset.mutex | 1 |
| DATA_SOURCE | 0 | gt | $0 |
| STR_LEN | 0 | gt | (-1),4,6,8,14,16,18,21,23,26,34,36 |
| STR_LEN | 0 | gt | (-1),4,6,8,14,16,18,21,23,26,34,36 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | gt->i915->uncore.fifo_count | 0-127,u32max |
| HOST_DATA | 0 | gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
| LOCK2 | 0 | >->reset.mutex | |
| HALF_LOCKED2 | __flags | ||
| TYPE_LOCK | (struct intel_reset)->mutex |
drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_reset_global() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->__info | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_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 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | gt->i915->drm.anon_inode->i_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | gt->i915->drm.primary | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->irq_work.node.a_flags.counter | 0-s32max |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->lock.owner | (-1) |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->work.work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->reset.backoff_srcu.srcu_sup->work.work.entry.prev | 2076614606316732416 |
| PARAM_VALUE | 0 | gt->uc.ops->fini_fw | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore->rpm | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.request | 0-4 |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | gt | $0 |
| STR_LEN | 0 | gt | (-1),8,14,18,21,23,26,34,36 |
| STR_LEN | 0 | gt | (-1),8,14,18,21,23,26,34,36 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | gt->i915->uncore.fifo_count | 0-127,u32max |
| HOST_DATA | 0 | gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | &attr->mutex |
drivers/gpu/drm/i915/gt/intel_reset.c intel_hangcheck_live_selftests() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | gt | r to_gt |
drivers/gpu/drm/i915/gt/intel_reset.c intel_reset_live_selftests() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | gt | r to_gt |
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c intel_guc_scrub_ctbs() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
drivers/gpu/drm/i915/gt/intel_workarounds.c live_gpu_reset_workarounds() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
drivers/gpu/drm/i915/gt/intel_workarounds.c live_reset_whitelist() -> intel_has_gpu_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915 | 4096-ptr_max |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |