Defined in 2 files as a function:
- drivers/gpu/drm/i915/gt/intel_gt.h, line 97 (as a function)
- drivers/gpu/drm/xe/xe_uc.c, line 24 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/i915/gt/uc/intel_uc.c __confirm_options() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| MEM_ZERO | 0 | &uc->huc.delayed_load.timer | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __intel_uc_reset_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | uc->gsc.fw.rsa_data->fence_size | |
| NO_OVERFLOW_SIMPLE | 0 | uc->gsc.local->size | |
| NO_OVERFLOW_SIMPLE | 0 | uc->gsc.proxy.vma->size | |
| HALF_LOCKED2 | __flags |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_fetch_firmwares() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_init_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_init_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_init_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| CAPPED_DATA | 0 | uc->huc.delayed_load.timer.base | 1 |
| DATA_SOURCE | 0 | uc | $0 |
| PARAM_COMPARE | 0 | &uc->huc.delayed_load.timer | != $0->huc.delayed_load.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/uc/intel_uc.c __uc_init_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| CAPPED_DATA | 0 | uc->huc.delayed_load.timer.base | 1 |
| DATA_SOURCE | 0 | uc | $0 |
| PARAM_COMPARE | 0 | &uc->huc.delayed_load.timer | != $0->huc.delayed_load.timer.base->running |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_suspend() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
drivers/gpu/drm/i915/gt/uc/intel_uc.c intel_uc_suspend() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
drivers/gpu/drm/i915/gt/uc/intel_uc.c uc_expand_default_options() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/gt/uc/intel_uc.c uc_init_wopcm() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/i915/gt/uc/intel_uc.c uc_is_wopcm_locked() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.mmio_msg | 0 |
| HOST_DATA | 0 | uc->guc.timestamp.gt_stamp | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | uc->gsc.fw.rsa_data->fence_size | |
| LOCK2 | __flags | ||
| HALF_LOCKED2 | >->reset.mutex |
drivers/gpu/drm/xe/xe_uc.c uc_to_xe() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_uc.c vf_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/xe/xe_uc.c vf_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.ct->msg | 0-255 |
drivers/gpu/drm/xe/xe_uc.c xe_uc_declare_wedged() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr | |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr | |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr | |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init_noalloc() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init_noalloc() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_init_noalloc() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/xe/xe_uc.c xe_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr |
drivers/gpu/drm/xe/xe_uc.c xe_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.ct->msg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr |
drivers/gpu/drm/xe/xe_uc.c xe_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.ct->msg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr |
drivers/gpu/drm/xe/xe_uc.c xe_uc_load_hw() -> uc_to_gt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uc | 4096-ptr_max |
| DATA_SOURCE | 0 | uc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | uc->guc.ct->msg | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | uc->guc.relay.pool.min_nr |