Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/i915/gem/selftests/i915_gem_migrate.c
- drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c, line 1293
- drivers/gpu/drm/i915/gt/intel_reset.c, line 1446
- drivers/gpu/drm/i915/gt/selftest_hangcheck.c
- drivers/gpu/drm/i915/gt/selftest_mocs.c, line 378
- drivers/gpu/drm/i915/gt/selftest_reset.c
- drivers/gpu/drm/i915/gt/selftest_workarounds.c
- drivers/gpu/drm/i915/selftests/igt_reset.c, line 48
Smatch caller information:
drivers/gpu/drm/i915/gt/intel_mocs.c __live_mocs_reset() -> intel_gt_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->params.reset | 1-u32max |
| PARAM_VALUE | 2 | reason | 5737539147430785024 |
| BUF_SIZE | 2 | reason | 5 |
| STR_LEN | 0 | gt | 4 |
| TERMINATED | 2 | reason | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/selftests/igt_reset.c igt_force_reset() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| 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->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | 0 |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| NOCHECK_CALL | |||
| 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 |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_lmem_async_migrate() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| 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->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->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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| CAPPED_DATA | 0 | >->reset.mutex | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gem/i915_gem_object.c igt_lmem_pages_failsafe_migrate() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| 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->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->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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| CAPPED_DATA | 0 | >->reset.mutex | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_reset.c __igt_reset_stolen() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->ggtt | 4096-ptr_max |
| 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->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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| DATA_SOURCE | 1 | stalled_mask | $1 |
| STR_LEN | 0 | gt | (-1),6 |
| STR_LEN | 0 | gt | (-1),6 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_reset.c fake_hangcheck() -> intel_gt_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->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.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->runtime_pm.debug.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.debug.quarantine.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| DATA_SOURCE | 1 | stalled_mask | $1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_reset.c igt_global_reset() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->i915 | 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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| NOCHECK_CALL |
drivers/gpu/drm/i915/gt/intel_reset.c igt_reset_nop() -> intel_gt_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->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 | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_reset.c igt_wedged_reset() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 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 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| DATA_SOURCE | 0 | gt | $0 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_reset.c intel_gt_reset_global() -> intel_gt_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->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 |
| PARAM_VALUE | 1 | stalled_mask | 1-u32max |
| PARAM_VALUE | 2 | reason | 0,8964925761494290432 |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | gt | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | reason | 0,80 |
| BUF_SIZE | 2 | reason | 0,80 |
| DATA_SOURCE | 0 | gt | $0 |
| DATA_SOURCE | 1 | stalled_mask | $1 |
| DATA_SOURCE | 2 | reason | $2 |
| 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 |
| BIT_INFO | 2 | reason | 0x0,0x7c69d07b5b9d9000 |
| BIT_INFO | 2 | reason | 0x0,0x7c69d07b5b9d9000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
| USER_DATA | 1 | stalled_mask | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 1 | stalled_mask | |
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &display->drm->mode_config.mutex |
drivers/gpu/drm/i915/gem/i915_gem_mman.c __igt_mmap_migrate() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| 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->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->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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 0 |
| CAPPED_DATA | 0 | >->reset.mutex | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/intel_workarounds.c do_device_reset() -> intel_gt_reset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gt | 4096-ptr_max |
| 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->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gt->vm | 4096-ptr_max |
| PARAM_VALUE | 2 | reason | 7293513126061510656 |
| BUF_SIZE | 2 | reason | 17 |
| STR_LEN | 0 | gt | 16 |
| TERMINATED | 2 | reason | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | gt->uc.guc.timestamp.gt_stamp | 0-u64max |
drivers/gpu/drm/i915/gt/intel_workarounds.c live_gpu_reset_workarounds() -> intel_gt_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->params.reset | 1-u32max |
| PARAM_VALUE | 0 | gt->mcr_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gt->uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | gt->uncore->lock.rlock.dep_map->name | 0-255 |
| 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.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | gt->uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | stalled_mask | u32max |
| PARAM_VALUE | 2 | reason | 7293513126061510656 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 0 | gt | (-1),424,1216 |
| BUF_SIZE | 2 | reason | 17 |
| DATA_SOURCE | 0 | gt | $0 |
| STR_LEN | 0 | gt | 16 |
| TERMINATED | 2 | reason | 1 |
| NOCHECK_CALL | |||
| LOCK2 | __flags |