Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c, line 1908
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c, line 1888
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
- drivers/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.c
- drivers/gpu/drm/amd/display/dc/core/dc_state.c
- drivers/gpu/drm/amd/display/dc/core/dc_stream.c, line 208
- drivers/gpu/drm/amd/display/modules/power/power.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c pre_validate_dsc() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power.c mod_power_destroy() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power.c mod_power_remove_stream() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/modules/power/power.c mod_power_replace_stream() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_mode_valid() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 1-u64max |
| PARAM_VALUE | 0 | stream->sink->dc_edid.length | 0-2048 |
| BUF_SIZE | 0 | stream | (-1)-0,26536,26544 |
| BUF_SIZE | 0 | stream | (-1)-0,26536,26544 |
| DATA_SOURCE | 0 | stream | r amdgpu_dm_create_validate_stream_for_sink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_create_validate_stream_for_sink() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->link->preferred_link_setting.lane_count | 1-u32max |
| PARAM_VALUE | 0 | stream->link->preferred_link_setting.link_rate | 1-u32max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_destroy_cached_state() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_crtc_state() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 1-u64max |
| CAPPED_DATA | 0 | stream | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_existing_sink() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_fake_sink_success() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_scaling_src() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_sets_dm_context() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_virtual_signal() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.audio_latency | 0-255 |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.video_latency | 0-255 |
| PARAM_VALUE | 0 | stream->content_type | 0-2,4,8 |
| PARAM_VALUE | 0 | stream->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->dm_stream_context | 0,4096-ptr_max |
| PARAM_VALUE | 0 | stream->out_transfer_func.tf | 0 |
| PARAM_VALUE | 0 | stream->out_transfer_func.type | 0 |
| PARAM_VALUE | 0 | stream->output_color_space | 1,3,5-6,9-11,13,15 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->src.height | 0-u16max |
| PARAM_VALUE | 0 | stream->src.width | 0-u16max |
| PARAM_VALUE | 0 | stream->src.x | 0 |
| PARAM_VALUE | 0 | stream->src.y | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| DATA_SOURCE | 0 | stream | r create_stream_for_sink |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_destruct() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_destruct() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_release_phantom_stream() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | stream | 1 |
| DATA_SOURCE | 0 | stream | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_remove_stream() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_enc_cfg.c clear_enc_assignments() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_enc_cfg.c remove_link_enc_assignment() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->link_enc | 0 |
| CAPPED_DATA | 0 | stream | 1 |
| DATA_SOURCE | 0 | stream | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dm->dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c dm_handle_vmin_vmax_update() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| CAPPED_DATA | 0 | stream | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_destroy_state() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c amdgpu_dm_crtc_vblank_control_worker() -> dc_stream_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |