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 444
- 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_poll_for_allocation_change_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root | 0 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.dep_map->name | 0-255 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.next_start_slot | 0-255 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.payload_count | 0-255 |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->cur_link_settings.link_rate | 6-30,1000-2000 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c deallocate_mst_payload() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| 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->dm_stream_context->mst_root | 0 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.dep_map->name | 0-255 |
| 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.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->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->cur_link_settings.link_rate | 6-30,1000-2000 |
| PARAM_VALUE | 1 | stream->link->mst_stream_alloc_table.stream_count | 0-s32max |
| PARAM_VALUE | 1 | stream->link->type | 2 |
| PARAM_VALUE | 1 | stream->signal | 64 |
| PARAM_VALUE | 1 | stream->sink | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_increase_mst_payload() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root | 0 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.aux->hw_mutex.dep_map->name | 0-255 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.next_start_slot | 0-255 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.payload_count | 0-255 |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->cur_link_settings.link_rate | 6-30,1000-2000 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c link_reduce_mst_payload() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| 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.dep_map->name | 0-255 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.next_start_slot | 0-255 |
| PARAM_VALUE | 1 | stream->dm_stream_context->mst_root->mst_mgr.payload_count | 0-255 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | stream->link | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link->cur_link_settings.link_rate | 6-30,1000-2000 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_helpers_test.c dm_test_mst_poll_for_act_null_ctx() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 0 |
| PARAM_VALUE | 1 | stream | 16,4096-ptr_max |
| 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_poll_for_act_no_mst_state() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| 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 |
| BUF_SIZE | 1 | stream | 26552 |
| BUF_SIZE | 1 | stream->dm_stream_context | 9272 |
| 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_poll_for_act_status_failed() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| 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 |
| BUF_SIZE | 1 | stream | 26552 |
| BUF_SIZE | 1 | stream->dm_stream_context | 9272 |
| 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_poll_for_act_success() -> dm_helpers_dp_mst_poll_for_allocation_change_trigger()
| 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 |
| BUF_SIZE | 1 | stream | 26552 |
| BUF_SIZE | 1 | stream->dm_stream_context | 9272 |
| DATA_SOURCE | 1 | stream | r kunit_kzalloc |
| MEM_ZERO | 1 | stream |