Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c, line 416
- drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c, line 147
- drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c, line 65
- drivers/gpu/drm/i915/i915_hdcp_gsc.c, line 133
Smatch caller information:
drivers/gpu/drm/i915/i915_hdcp_gsc.c intel_gsc_send_sync() -> intel_gsc_uc_heci_cmd_submit_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsc | 4096-ptr_max |
| PARAM_VALUE | 1 | addr_in | 0-u32max |
| PARAM_VALUE | 2 | size_in | 56-57,72,88,93-4096 |
| PARAM_VALUE | 3 | addr_out | 4096-4294971391 |
| PARAM_VALUE | 4 | size_out | 56,64,67,73,80,188 |
| DATA_SOURCE | 1 | addr_in | $3 |
| DATA_SOURCE | 3 | addr_out | $4 |
| TASK_NOT_RUNNING | |||
| UNITS | 1 | addr_in | unit_byte |
| UNITS | 2 | size_in | unit_byte |
| UNITS | 3 | addr_out | unit_byte |
| UNITS | 4 | size_out | unit_byte |
| LOCK2 | &dig_port->hdcp.mutex | ||
| LOCK2 | &display->hdcp.hdcp_mutex | ||
| LOCK2 | &hdcp->mutex | ||
| TYPE_LOCK | (struct intel_digital_port)->hdcp.mutex | ||
| TYPE_LOCK | (struct intel_display)->hdcp.hdcp_mutex | ||
| TYPE_LOCK | (struct intel_hdcp)->mutex |
drivers/gpu/drm/i915/gt/uc/intel_gsc_proxy.c proxy_send_to_gsc() -> intel_gsc_uc_heci_cmd_submit_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsc | 4096-ptr_max |
| PARAM_VALUE | 0 | gsc->ce->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gsc->ce->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gsc->ce->parallel.parent->active.cache->timeline | 0-s64max |
| PARAM_VALUE | 0 | gsc->ce->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | gsc->ce->wakeref->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | gsc->ce->wakeref->dead | 0-1 |
| PARAM_VALUE | 0 | gsc->ce->wakeref->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | gsc->gsc_work_actions | 0 |
| PARAM_VALUE | 0 | gsc->proxy.component | 1-u64max |
| PARAM_VALUE | 0 | gsc->proxy.component_added | 1 |
| PARAM_VALUE | 0 | gsc->proxy.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gsc->proxy.mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | gsc->proxy.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | gsc->proxy.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | gsc->proxy.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | gsc->proxy.mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | gsc->proxy.mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | gsc->proxy.mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | gsc->proxy.to_gsc | 4096-ptr_max |
| PARAM_VALUE | 0 | gsc->proxy.vma | 4096-ptr_max |
| PARAM_VALUE | 1 | addr_in | 0-u32max |
| PARAM_VALUE | 2 | size_in | 52-32768 |
| PARAM_VALUE | 3 | addr_out | 32768-4295000063 |
| PARAM_VALUE | 4 | size_out | 32768 |
| DATA_SOURCE | 0 | gsc | $0 |
| DATA_SOURCE | 1 | addr_in | r i915_ggtt_offset |
| PARAM_COMPARE | 1 | addr_in | < $3 |
| PARAM_COMPARE | 1 | addr_in | < $3 |
| PARAM_COMPARE | 1 | addr_in | == $3 |
| PARAM_COMPARE | 3 | addr_out | > $1 |
| MEM_ZERO | 0 | gsc->proxy.to_csme | |
| UNITS | 2 | size_in | unit_byte |
| LOCK2 | 0 | &gsc->proxy.mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct intel_gsc_uc)->proxy.mutex |
drivers/gpu/drm/i915/gt/uc/intel_gsc_fw.c gsc_fw_query_compatibility_version() -> intel_gsc_uc_heci_cmd_submit_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsc | 4096-ptr_max |
| PARAM_VALUE | 1 | addr_in | 0-u32max |
| PARAM_VALUE | 2 | size_in | 40 |
| PARAM_VALUE | 3 | addr_out | 4096-4294971391 |
| PARAM_VALUE | 4 | size_out | 4096 |
| DATA_SOURCE | 1 | addr_in | r i915_ggtt_offset |
| UNITS | 2 | size_in | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c intel_huc_fw_auth_via_gsccs() -> intel_gsc_uc_heci_cmd_submit_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gsc | 4096-ptr_max |
| PARAM_VALUE | 1 | addr_in | 0-u32max |
| PARAM_VALUE | 2 | size_in | 64 |
| PARAM_VALUE | 3 | addr_out | 4096-4294971391 |
| PARAM_VALUE | 4 | size_out | 4096 |
| DATA_SOURCE | 1 | addr_in | r i915_ggtt_offset |
| RX_PATH | |||
| UNITS | 2 | size_in | unit_byte |
| HALF_LOCKED2 | &pool->lock |