Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c create_stream_for_sink() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| 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.type | 2 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.bits_per_pixel | 128 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.block_pred_enable | 1 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_dp | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_frl | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_vic_all_bpp | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.linebuf_depth | 9 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.mst_pbn | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.num_slices_h | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.num_slices_v | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.rc_buffer_size | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.rc_params_ovrd | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.version_minor | 2 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.ycbcr422_simple | 0 |
| PARAM_VALUE | 1 | mode_in | 2702462699930763264 |
| PARAM_VALUE | 2 | connector | 4096-ptr_max |
| PARAM_VALUE | 4 | old_stream | 0 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream->sink | (-1),2520 |
| BUF_SIZE | 3 | connector_state | 440 |
| CAPPED_DATA | 2 | &connector->modes | 1 |
| DATA_SOURCE | 0 | stream | r dc_create_stream_for_sink |
| DATA_SOURCE | 2 | connector | $0 |
| DATA_SOURCE | 5 | requested_bpc | $4 |
| DATA_SOURCE | 6 | requested_encoding | $5 |
| DATA_SOURCE | 7 | is_hdmi_ep | $6 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | mode_in->clock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c create_stream_for_sink() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->audio_info.manufacture_id | 0-u16max |
| PARAM_VALUE | 0 | stream->audio_info.product_id | 0-u16max |
| 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.type | 2 |
| PARAM_VALUE | 0 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | stream->sink | 4096-ptr_max |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.bits_per_pixel | 128 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.block_pred_enable | 1 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_dp | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_frl | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.is_vic_all_bpp | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.linebuf_depth | 9 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.mst_pbn | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.num_slices_h | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.num_slices_v | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.rc_buffer_size | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.rc_params_ovrd | 0 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.version_minor | 2 |
| PARAM_VALUE | 0 | stream->timing.dsc_cfg.ycbcr422_simple | 0 |
| PARAM_VALUE | 1 | mode_in | 2702462699930763264 |
| PARAM_VALUE | 2 | connector | 4096-ptr_max |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream | 26528 |
| BUF_SIZE | 0 | stream->sink | (-1),2520 |
| BUF_SIZE | 3 | connector_state | 440 |
| CAPPED_DATA | 2 | &connector->modes | 1 |
| DATA_SOURCE | 0 | stream | r dc_create_stream_for_sink |
| DATA_SOURCE | 2 | connector | $0 |
| DATA_SOURCE | 4 | old_stream | $3 |
| DATA_SOURCE | 5 | requested_bpc | $4 |
| DATA_SOURCE | 6 | requested_encoding | $5 |
| DATA_SOURCE | 7 | is_hdmi_ep | $6 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | mode_in->clock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_aspect_ratio() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->picture_aspect_ratio | 2 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_borders_zeroed() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | stream->timing.h_border_left | 5 |
| PARAM_VALUE | 0 | stream->timing.h_border_right | 6 |
| PARAM_VALUE | 0 | stream->timing.v_border_bottom | 8 |
| PARAM_VALUE | 0 | stream->timing.v_border_top | 7 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_color_depth_requested_bpc() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | connector->display_info.bpc | 12 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 10 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_content_type() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | connector_state | 4096-ptr_max |
| PARAM_VALUE | 3 | connector_state->content_type | 1 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_encoding_from_caller_ycbcr420() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 4 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_encoding_from_caller_ycbcr422() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 2 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_encoding_from_caller_ycbcr444() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 3 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_hdmi_ep_clamps_depth() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->crtc_clock | 148500 |
| PARAM_VALUE | 2 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | connector->display_info.bpc | 10 |
| PARAM_VALUE | 2 | connector->display_info.max_tmds_clock | 160000 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 10 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 1 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_inherits_old_stream() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->flags | 5 |
| PARAM_VALUE | 4 | old_stream | 4096-ptr_max |
| PARAM_VALUE | 4 | old_stream->timing.flags.HSYNC_POSITIVE_POLARITY | 1 |
| PARAM_VALUE | 4 | old_stream->timing.flags.VSYNC_POSITIVE_POLARITY | 0 |
| PARAM_VALUE | 4 | old_stream->timing.vic | 16 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| BUF_SIZE | 4 | old_stream | 26552 |
| DATA_SOURCE | 4 | old_stream | r kunit_kzalloc |
| MEM_ZERO | 4 | old_stream | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_non_hdmi_ep_keeps_depth() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->crtc_clock | 148500 |
| PARAM_VALUE | 2 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | connector->display_info.bpc | 10 |
| PARAM_VALUE | 2 | connector->display_info.max_tmds_clock | 160000 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 10 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_rgb_defaults() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_sync_polarity_negative() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->flags | 0 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_sync_polarity_positive() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->flags | 5 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_fill_stream_timing_from_crtc() -> fill_stream_properties_from_drm_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode_in | 4096-ptr_max |
| PARAM_VALUE | 1 | mode_in->crtc_clock | 148500 |
| PARAM_VALUE | 1 | mode_in->crtc_hdisplay | 1920 |
| PARAM_VALUE | 1 | mode_in->crtc_hsync_end | 2052 |
| PARAM_VALUE | 1 | mode_in->crtc_hsync_start | 2008 |
| PARAM_VALUE | 1 | mode_in->crtc_htotal | 2200 |
| PARAM_VALUE | 1 | mode_in->crtc_vdisplay | 1080 |
| PARAM_VALUE | 1 | mode_in->crtc_vsync_end | 1089 |
| PARAM_VALUE | 1 | mode_in->crtc_vsync_start | 1084 |
| PARAM_VALUE | 1 | mode_in->crtc_vtotal | 1125 |
| PARAM_VALUE | 4 | old_stream | 0 |
| PARAM_VALUE | 5 | requested_bpc | 8 |
| PARAM_VALUE | 6 | requested_encoding | 1 |
| PARAM_VALUE | 7 | is_hdmi_ep | 0 |
| NOCHECK_CALL |