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_debugfs.c, line 1523
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
- drivers/gpu/drm/amd/display/dc/core/dc_sink.c, line 77
- drivers/gpu/drm/amd/display/dc/core/dc_stream.c, line 179
- drivers/gpu/drm/amd/display/dc/link/link_detection.c
- drivers/gpu/drm/amd/display/dc/link/link_factory.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c amdgpu_dm_mst_connector_early_unregister() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| CAPPED_DATA | 0 | sink | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &connector->mutex | ||
| LOCK2 | &root->mst_mgr.base.lock.mutex | ||
| TYPE_LOCK | (struct drm_connector)->mutex | ||
| TYPE_LOCK | (struct drm_modeset_lock)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_mst_connector_destroy() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| CAPPED_DATA | 0 | sink | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_mst_detect() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| CAPPED_DATA | 0 | sink | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &master->mst_mgr.base.lock | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c dm_dp_mst_get_modes() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->sink_signal | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &drm->mode_config.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c __free_sink_release() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| BIT_INFO | 0 | sink | 0x0,0x7fffffffffffffff |
| BIT_INFO | 0 | sink | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_destroy() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_destroy() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_destroy() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_connector_poll() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &aconnector->hpd_lock | ||
| TYPE_LOCK | (struct amdgpu_dm_connector)->hpd_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_update_connector_after_detect() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &aconnector->hpd_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_update_connector_after_detect() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_update_connector_after_detect() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c create_stream_for_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| BUF_SIZE | 0 | sink | (-1),2520 |
| BUF_SIZE | 0 | sink | (-1),2520 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_stream.c dc_stream_destruct() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_emulated_link_detect() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_resume() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_create_stream_existing_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->converter_disable_audio | 0 |
| PARAM_VALUE | 0 | sink->dc_container_id | 0 |
| PARAM_VALUE | 0 | sink->dongle_max_pix_clk | 0 |
| PARAM_VALUE | 0 | sink->link | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sink->sink_signal | 512 |
| BUF_SIZE | 0 | sink | 2520 |
| DATA_SOURCE | 0 | sink | r dc_sink_create |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_destroy_releases_dc_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->converter_disable_audio | 0 |
| PARAM_VALUE | 0 | sink->dc_container_id | 0 |
| PARAM_VALUE | 0 | sink->dongle_max_pix_clk | 0 |
| PARAM_VALUE | 0 | sink->link | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->sink_signal | 512 |
| BUF_SIZE | 0 | sink | 2520 |
| DATA_SOURCE | 0 | sink | r dc_sink_create |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c amdgpu_dm_hdmi_hpd_debounce_work() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c handle_hpd_irq_helper() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c link_destruct() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_factory.c link_destruct() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c trigger_hotplug() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| NOCHECK_CALL | |||
| LOCK2 | &aconnector->hpd_lock | ||
| TYPE_LOCK | (struct amdgpu_dm_connector)->hpd_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c link_add_remote_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->converter_disable_audio | 0 |
| PARAM_VALUE | 0 | sink->dc_container_id | 0 |
| PARAM_VALUE | 0 | sink->dc_edid.length | 0-2048 |
| PARAM_VALUE | 0 | sink->dongle_max_pix_clk | 0 |
| PARAM_VALUE | 0 | sink->link | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | sink->sink_signal | 4,64,512 |
| BUF_SIZE | 0 | sink | 2520 |
| DATA_SOURCE | 0 | sink | r dc_sink_create |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c link_disconnect_remap() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c link_disconnect_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 4096-ptr_max |
| PARAM_VALUE | 0 | sink->sink_signal | 32,64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | &adev->dm.dc_lock | ||
| HALF_LOCKED2 | &attr->mutex | ||
| HALF_LOCKED2 | &dm->dc_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c link_remove_remote_sink() -> dc_sink_release()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sink | 1-u64max |
| CAPPED_DATA | 0 | sink | 1 |
| DATA_SOURCE | 0 | sink | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &root->mst_mgr.base.lock.mutex |