Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c, line 395
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c
- drivers/gpu/drm/amd/display/dc/link/link_dpms.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c allocate_mst_payload() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | proposed_table | 5833844952118198272 |
| PARAM_VALUE | 2 | proposed_table->stream_count | 0 |
| PARAM_VALUE | 3 | enable | 1 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c deallocate_mst_payload() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->type | 2 |
| PARAM_VALUE | 1 | stream->signal | 64 |
| PARAM_VALUE | 1 | stream->sink | 0,4096-ptr_max |
| PARAM_VALUE | 2 | proposed_table | 3739750614338670592 |
| PARAM_VALUE | 2 | proposed_table->stream_count | 0 |
| PARAM_VALUE | 3 | enable | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_increase_mst_payload() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | proposed_table | 2356949992964173824 |
| PARAM_VALUE | 2 | proposed_table->stream_count | 0 |
| PARAM_VALUE | 3 | enable | 1 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_reduce_mst_payload() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.qlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.qlock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.qlock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.qlock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.qlock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | proposed_table | 8578943247065432064 |
| PARAM_VALUE | 2 | proposed_table->stream_count | 0 |
| PARAM_VALUE | 3 | enable | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mst_write_payload_alloc_table_null_ctx() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 0 |
| PARAM_VALUE | 1 | stream | 16,4096-ptr_max |
| PARAM_VALUE | 2 | proposed_table | 0 |
| PARAM_VALUE | 3 | enable | 1 |
| BUF_SIZE | 1 | stream | 26552 |
| DATA_SOURCE | 1 | stream | r kunit_kzalloc |
| MEM_ZERO | 1 | stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_write_payload_alloc_table_success() -> dm_helpers_dp_mst_write_payload_allocation_table()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 0 |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->dm_stream_context | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->mst_stream_alloc_table.stream_count | 1 |
| PARAM_VALUE | 2 | proposed_table | 2505154203949064192 |
| PARAM_VALUE | 2 | proposed_table->stream_count | 0 |
| BUF_SIZE | 1 | stream | 26552 |
| BUF_SIZE | 1 | stream->dm_stream_context | 9272 |
| BUF_SIZE | 1 | stream->link | 1616 |
| DATA_SOURCE | 1 | stream | r kunit_kzalloc |
| DATA_SOURCE | 3 | enable | $1 |
| MEM_ZERO | 1 | stream |