Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_reset.c
- drivers/gpu/drm/i915/gt/intel_ring_submission.c
- drivers/gpu/drm/i915/gt/intel_tlb.c, line 40
- drivers/gpu/drm/i915/gt/uc/intel_guc.c, line 540
- drivers/gpu/drm/i915/intel_pcode.c
- drivers/gpu/drm/i915/intel_uncore.c, line 2822
- drivers/gpu/drm/i915/intel_uncore.h, line 313
- drivers/gpu/drm/i915/vlv_iosf_sb.c, line 120
Smatch caller information:
drivers/gpu/drm/i915/gt/uc/intel_guc.c intel_guc_send_mmio() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->funcs.mmio_readl | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->funcs.mmio_writel | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | value | 0,2147483648-u32max |
| PARAM_VALUE | 4 | fast_timeout_us | 10 |
| PARAM_VALUE | 5 | slow_timeout_ms | 10 |
| PARAM_VALUE | 6 | out_value | 1878267124538974208 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| BIT_INFO | 3 | value | 0x0,0x80000000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-126,u32max |
| HOST_DATA | 6 | *out_value | 0-u32max |
| LOCK2 | &guc->send_mutex | ||
| HALF_LOCKED2 | __flags | ||
| TYPE_LOCK | (struct intel_guc)->send_mutex |
drivers/gpu/drm/i915/vlv_iosf_sb.c vlv_sideband_rw() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 10000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| BUF_SIZE | 0 | uncore | 416 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &i915->vlv_iosf_sb.lock |
drivers/gpu/drm/i915/intel_uncore.c __intel_wait_for_register() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | fast_timeout_us | 2 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 6223559585066143744 |
| BUF_SIZE | 0 | uncore | (-1),416 |
| BUF_SIZE | 0 | uncore | (-1),416 |
| DATA_SOURCE | 0 | uncore | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | mask | $2 |
| DATA_SOURCE | 3 | value | $3 |
| DATA_SOURCE | 4 | fast_timeout_us | $4 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| LOCK2 | irq | ||
| LOCK2 | 0 | &uncore->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct intel_uncore)->lock |
drivers/gpu/drm/i915/intel_uncore.c intel_wait_for_register_fw() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | value | 0,2147483648 |
| PARAM_VALUE | 4 | fast_timeout_us | 2 |
| PARAM_VALUE | 5 | slow_timeout_ms | 9000 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 0 | uncore | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | mask | $2 |
| DATA_SOURCE | 3 | value | $3 |
| DATA_SOURCE | 5 | slow_timeout_ms | $4 |
| DATA_SOURCE | 6 | out_value | $5 |
| STR_LEN | 0 | uncore | (-1),28 |
| STR_LEN | 0 | uncore | (-1),28 |
| HARD_MAX | 3 | value | 2147483648 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | uncore | unit_byte |
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/i915/intel_pcode.c __snb_pcode_rw() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | uncore->i915->sb_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 250,500 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0-2,20 |
| DATA_SOURCE | 0 | uncore | $0 |
| DATA_SOURCE | 4 | fast_timeout_us | $4 |
| DATA_SOURCE | 5 | slow_timeout_ms | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &uncore->i915->sb_lock | |
| TYPE_LOCK | (struct drm_i915_private)->sb_lock |
drivers/gpu/drm/i915/intel_pcode.c pcode_init_wait() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->i915 | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2147483648 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 500 |
| PARAM_VALUE | 5 | slow_timeout_ms | 10000,180000 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 0 | uncore | $0 |
| DATA_SOURCE | 5 | slow_timeout_ms | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/intel_engine_cs.c __gpm_wait_for_fw_complete() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mask | 1-31 |
| PARAM_VALUE | 3 | value | 1-31 |
| PARAM_VALUE | 4 | fast_timeout_us | 5000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 2 | mask | $1 |
| DATA_SOURCE | 3 | value | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HOST_DATA | 2 | mask | 1-31[c] |
| HOST_DATA | 3 | value | 1-31[c] |
drivers/gpu/drm/i915/gt/intel_engine_cs.c __intel_engine_stop_cs() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mask | 512 |
| PARAM_VALUE | 3 | value | 512 |
| PARAM_VALUE | 4 | fast_timeout_us | 1000 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 4 | fast_timeout_us | $1 |
| DATA_SOURCE | 5 | slow_timeout_ms | $2 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c intel_wait_for_register_fw() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 2 |
| PARAM_VALUE | 5 | slow_timeout_ms | 100 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 0 | uncore | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| DATA_SOURCE | 2 | mask | $2 |
| DATA_SOURCE | 3 | value | $3 |
| DATA_SOURCE | 5 | slow_timeout_ms | $4 |
| DATA_SOURCE | 6 | out_value | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/intel_ring_submission.c flush_cs_tlb() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->debug->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uncore->funcs.mmio_readl | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mask | 32 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 2000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex | ||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gt/intel_ring_submission.c gen6_bsd_submit_request() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 8 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 1000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/gt/intel_ring_submission.c xcs_resume() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 0 | uncore->debug->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | uncore->rpm->kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | value | 1 |
| PARAM_VALUE | 4 | fast_timeout_us | 5000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex | ||
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gt/intel_reset.c gen11_lock_sfc() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1-2 |
| PARAM_VALUE | 3 | value | 1-2 |
| PARAM_VALUE | 4 | fast_timeout_us | 1000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | >->uncore->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | >->reset.mutex | ||
| TYPE_LOCK | (struct intel_uncore)->lock |
drivers/gpu/drm/i915/gt/intel_reset.c gen6_hw_domain_reset() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 2000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| DATA_SOURCE | 2 | mask | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex | ||
| HALF_LOCKED2 | >->uncore->lock | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/i915/gt/intel_reset.c gen8_engine_reset_prepare() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 2,4 |
| PARAM_VALUE | 3 | value | 0,2 |
| PARAM_VALUE | 4 | fast_timeout_us | 700 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| FUZZY_MAX | 2 | mask | 4 |
| FUZZY_MAX | 3 | value | 2 |
| BIT_INFO | 1 | reg | 0x0,0x7fffffff |
| BIT_INFO | 2 | mask | 0x0,0x6 |
| BIT_INFO | 3 | value | 0x0,0x2 |
| HARD_MAX | 2 | mask | 4 |
| HARD_MAX | 3 | value | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | >->uncore->lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | >->reset.mutex | ||
| TYPE_LOCK | (struct intel_uncore)->lock |
drivers/gpu/drm/i915/gt/intel_reset.c ilk_do_reset() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 5000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/intel_reset.c ilk_do_reset() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uncore | 4096-ptr_max |
| PARAM_VALUE | 2 | mask | 1 |
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 5000 |
| PARAM_VALUE | 5 | slow_timeout_ms | 0 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uncore->fifo_count | 0-127,u32max |
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/intel_tlb.c wait_for_invalidate() -> __intel_wait_for_register_fw()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | value | 0 |
| PARAM_VALUE | 4 | fast_timeout_us | 100 |
| PARAM_VALUE | 5 | slow_timeout_ms | 4 |
| PARAM_VALUE | 6 | out_value | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | >->tlb.invalidate_lock | ||
| LOCK2 | __flags | ||
| TYPE_LOCK | (struct intel_gt)->tlb.invalidate_lock |