Defined in 1 files as a member:
Defined in 2 files as a function:
- drivers/gpu/drm/i915/gt/gen8_engine_cs.c, line 424 (as a function)
- drivers/gpu/drm/i915/selftests/i915_request.c, line 2008 (as a function)
Referenced in 11 files:
- drivers/gpu/drm/i915/gt/gen8_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_engine_cs.c
- drivers/gpu/drm/i915/gt/intel_timeline.c
- drivers/gpu/drm/i915/gt/intel_timeline.h, line 83
- drivers/gpu/drm/i915/gt/selftest_engine_cs.c, line 71
- drivers/gpu/drm/i915/gt/selftest_rc6.c, line 179
- drivers/gpu/drm/i915/gt/selftest_timeline.c
- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
- drivers/gpu/drm/i915/i915_request.c
- drivers/gpu/drm/i915/i915_request.h, line 697
- drivers/gpu/drm/i915/selftests/i915_request.c
Smatch caller information:
drivers/gpu/drm/i915/gt/gen8_engine_cs.c emit_xcs_breadcrumb() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context | 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->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| 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->ring | 4096-ptr_max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq->engine | (-1),3608,6504 |
| DATA_SOURCE | 0 | rq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| HALF_LOCKED2 | &ce->timeline->mutex | ||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/gt/gen8_engine_cs.c gen11_emit_fini_breadcrumb_rcs() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context | 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->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| 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->ring | 4096-ptr_max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq->engine | (-1),3608,6504 |
| DATA_SOURCE | 0 | rq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| HALF_LOCKED2 | &ce->timeline->mutex | ||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/gt/gen8_engine_cs.c gen12_emit_fini_breadcrumb_rcs() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context | 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->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->gt | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| 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->i915 | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->ring | 4096-ptr_max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq->engine | (-1),3608,6504 |
| DATA_SOURCE | 0 | rq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| HALF_LOCKED2 | &ce->timeline->mutex | ||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/gt/gen8_engine_cs.c gen8_emit_fini_breadcrumb_rcs() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context | 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->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| 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->ring | 4096-ptr_max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq | (-1),1-s32max |
| BUF_SIZE | 0 | rq->engine | (-1),3608,6504 |
| DATA_SOURCE | 0 | rq | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| HALF_LOCKED2 | &ce->timeline->mutex | ||
| HALF_LOCKED2 | &engine->sched_engine->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/i915/gt/gen8_engine_cs.c gen8_emit_init_breadcrumb() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->context | 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->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| 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->ring | 4096-ptr_max |
| BUF_SIZE | 0 | rq | (-1)-s32max |
| BUF_SIZE | 0 | rq | (-1)-s32max |
| BUF_SIZE | 0 | rq->context | (-1)-s32max |
| CAPPED_DATA | 0 | rq->context | 1 |
| CAPPED_DATA | 0 | rq->ring | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| STR_LEN | 0 | rq->context | (-1),4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | rq->engine->execlists.reset_ccid | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->context->ring_size | |
| HALF_LOCKED2 | &pxp->tee_mutex | ||
| HALF_LOCKED2 | &vgpu->vgpu_lock | ||
| HALF_LOCKED2 | obj->base.resv | ||
| HALF_LOCKED2 | pkt->bb_vma->obj->base.resv | ||
| HALF_LOCKED2 | pkt->heci_pkt_vma->obj->base.resv | ||
| HALF_LOCKED2 | rpcs->base.resv |
drivers/gpu/drm/i915/i915_request.c measure_busy_dispatch() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| HOST_DATA | 0 | rq->engine->gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_completion() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->status_page.vma | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | rq->engine->gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_context_switch() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | rq->engine->gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_idle_dispatch() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_inter_request() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine->status_page.vma | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | rq->engine->gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_preemption() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| CAPPED_DATA | 0 | rq | 1 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.mmio_msg | 0 |
| HOST_DATA | 0 | rq->engine->gt->uc.guc.timestamp.gt_stamp | 0-u64max |
| HOST_DATA | 0 | rq->engine->gt->uncore->fifo_count | 0-127,u32max |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |
drivers/gpu/drm/i915/i915_request.c measure_semaphore_response() -> hwsp_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rq | 4096-ptr_max |
| PARAM_VALUE | 0 | rq->engine | 4096-ptr_max |
| PARAM_VALUE | 1 | dw | 4096-ptr_max |
| BUF_SIZE | 1 | dw | 96 |
| BUF_SIZE | 1 | dw | 96 |
| DATA_SOURCE | 0 | rq | $0 |
| DATA_SOURCE | 1 | dw | r hwsp_scratch |
| NO_OVERFLOW_SIMPLE | 0 | rq->ring->effective_size |