Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 25 files:
- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c, line 1673
- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c, line 1501
- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c, line 1626
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c, line 938
- drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c, line 963
- drivers/gpu/drm/bridge/ite-it6505.c, line 3156
- drivers/gpu/drm/bridge/sii902x.c, line 391
- drivers/gpu/drm/bridge/sil-sii8620.c, line 1105
- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c, line 1785
- drivers/gpu/drm/bridge/tda998x_drv.c, line 864
- drivers/gpu/drm/display/drm_hdmi_state_helper.c, line 743
- drivers/gpu/drm/drm_edid.c, line 7483
- drivers/gpu/drm/exynos/exynos_hdmi.c, line 827
- drivers/gpu/drm/i915/display/intel_hdmi.c, line 742
- drivers/gpu/drm/i915/display/intel_lspcon.c, line 559
- drivers/gpu/drm/i915/display/intel_sdvo.c, line 1114
- drivers/gpu/drm/loongson/lsdc_output_7a2000.c, line 297
- drivers/gpu/drm/mediatek/mtk_hdmi.c, line 712
- drivers/gpu/drm/nouveau/dispnv50/disp.c, line 829
- drivers/gpu/drm/omapdrm/dss/hdmi4.c, line 377
- drivers/gpu/drm/omapdrm/dss/hdmi5.c, line 375
- drivers/gpu/drm/radeon/radeon_audio.c, line 464
- drivers/gpu/drm/sti/sti_hdmi.c, line 453
- drivers/gpu/drm/tegra/hdmi.c, line 719
- drivers/gpu/drm/tegra/sor.c, line 1933
Smatch caller information:
drivers/gpu/drm/i915/display/intel_hdmi.c intel_hdmi_compute_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| PARAM_VALUE | 2 | mode->flags | 0,4-u32max |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->crtc_clock |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_generate_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 1 | connector->hdmi.funcs | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->helper_private | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->index | 0-s32max |
| PARAM_VALUE | 2 | mode | 0,4096-ptr_max |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | (-1),120 |
| BUF_SIZE | 2 | mode | (-1),120 |
| DATA_SOURCE | 1 | connector | $0 |
| DATA_SOURCE | 2 | mode | r connector_state_get_mode |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c fill_stream_properties_from_drm_display_mode() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 7559554432432611328 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 1 | connector | $2 |
| DATA_SOURCE | 2 | mode | $1 |
| MEM_ZERO | 0 | frame |
drivers/gpu/drm/amd/amdgpu/dce_v8_0.c dce_v8_0_afmt_setmode() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 1508506110817595392 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | (-1),120 |
| BUF_SIZE | 2 | mode | (-1),120 |
| DATA_SOURCE | 1 | connector | r amdgpu_get_connector_for_encoder |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->crtc_clock |
drivers/gpu/drm/bridge/tda998x_drv.c tda998x_write_avi() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.cea_rev | 3-255 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 2 | mode | $1 |
| BIT_INFO | 2 | mode->flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->clock | |
| LOCK2 | &priv->audio_mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct tda998x_priv)->audio_mutex |
drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_reg_infoframes() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdata->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct hdmi_context)->mutex |
drivers/gpu/drm/tegra/hdmi.c tegra_hdmi_setup_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 2786103003466792960 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $1 |
| BIT_INFO | 2 | mode->vdisplay | 0x0,0x3ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &hdmi->audio_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex | ||
| TYPE_LOCK | (struct tegra_hdmi)->audio_lock |
drivers/gpu/drm/amd/amdgpu/dce_v6_0.c dce_v6_0_audio_set_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 7331343098086342656 |
| PARAM_VALUE | 1 | connector | 0,4096-ptr_max |
| PARAM_VALUE | 1 | connector->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 1 | connector | r amdgpu_get_connector_for_encoder |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/display/intel_lspcon.c lspcon_set_infoframes() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c hdmi_config_AVI() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 8232256347770097664 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 1 | connector | $1 |
| DATA_SOURCE | 2 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &hdmi->mutex | ||
| TYPE_LOCK | (struct dw_hdmi)->mutex |
drivers/gpu/drm/mediatek/mtk_hdmi.c mtk_hdmi_setup_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 8120873655958339584 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/amd/amdgpu/dce_v10_0.c dce_v10_0_afmt_setmode() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 8506983490365526016 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->base.refcount.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | (-1),120 |
| BUF_SIZE | 2 | mode | (-1),120 |
| DATA_SOURCE | 1 | connector | r amdgpu_get_connector_for_encoder |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->crtc_clock |
drivers/gpu/drm/radeon/radeon_audio.c radeon_audio_set_avi_packet() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 2170473533342695424 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| DATA_SOURCE | 1 | connector | r radeon_get_connector_for_encoder |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/sor.c tegra_sor_hdmi_setup_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 6434985409403506688 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c anx78xx_bridge_mode_set() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 3784523867395915776 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| BUF_SIZE | 2 | mode | (-1),120 |
| BUF_SIZE | 2 | mode | (-1),120 |
| DATA_SOURCE | 2 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->clock | |
| LOCK2 | &anx78xx->lock | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct anx78xx)->lock |
drivers/gpu/drm/loongson/lsdc_output_7a2000.c ls7a2000_hdmi_set_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 6309519476031905792 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/sil-sii8620.c sii8620_set_infoframes() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 0 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $1 |
drivers/gpu/drm/bridge/ite-it6505.c it6505_bridge_atomic_enable() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 3986756795992911872 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->index | 0-2147483646 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| CAPPED_DATA | 1 | connector->index | 1 |
| DATA_SOURCE | 1 | connector | r drm_atomic_get_new_connector_for_encoder |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/omapdrm/dss/hdmi5.c hdmi5_bridge_enable() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 656786013135806464 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 1 | connector->index | 0-2147483646 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| CAPPED_DATA | 1 | connector->index | 1 |
| DATA_SOURCE | 1 | connector | r drm_atomic_get_new_connector_for_encoder |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/sii902x.c sii902x_bridge_mode_set() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 447756522355896320 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | (-1),120 |
| BUF_SIZE | 2 | mode | (-1),120 |
| DATA_SOURCE | 2 | mode | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | mode->clock | |
| LOCK2 | &sii902x->mutex | ||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| TYPE_LOCK | (struct sii902x)->mutex |
drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_compute_avi_infoframe() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 0 | frame | 60 |
| BUF_SIZE | 2 | mode | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/sti/sti_hdmi.c hdmi_avi_infoframe_config() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 4887454122602881024 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &commit->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &commit->dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &encoder->bridge_chain_mutex |
drivers/gpu/drm/nouveau/dispnv50/disp.c nv50_hdmi_enable() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame->active_aspect | 0 |
| PARAM_VALUE | 0 | frame->bottom_bar | 0 |
| PARAM_VALUE | 0 | frame->colorimetry | 0 |
| PARAM_VALUE | 0 | frame->colorspace | 0 |
| PARAM_VALUE | 0 | frame->content_type | 0 |
| PARAM_VALUE | 0 | frame->extended_colorimetry | 0 |
| PARAM_VALUE | 0 | frame->itc | 0 |
| PARAM_VALUE | 0 | frame->left_bar | 0 |
| PARAM_VALUE | 0 | frame->length | 0 |
| PARAM_VALUE | 0 | frame->nups | 0 |
| PARAM_VALUE | 0 | frame->picture_aspect | 0 |
| PARAM_VALUE | 0 | frame->pixel_repeat | 0 |
| PARAM_VALUE | 0 | frame->quantization_range | 0 |
| PARAM_VALUE | 0 | frame->right_bar | 0 |
| PARAM_VALUE | 0 | frame->scan_mode | 0 |
| PARAM_VALUE | 0 | frame->top_bar | 0 |
| PARAM_VALUE | 0 | frame->type | 0 |
| PARAM_VALUE | 0 | frame->version | 0 |
| PARAM_VALUE | 0 | frame->video_code | 0 |
| PARAM_VALUE | 0 | frame->ycc_quantization_range | 0 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| DATA_SOURCE | 2 | mode | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/omapdrm/dss/hdmi4.c hdmi4_bridge_enable() -> drm_hdmi_avi_infoframe_from_display_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | frame | 644474853710643200 |
| PARAM_VALUE | 1 | connector | 4096-ptr_max |
| PARAM_VALUE | 1 | connector->display_info.is_hdmi | 1 |
| PARAM_VALUE | 1 | connector->index | 0-2147483646 |
| PARAM_VALUE | 2 | mode | 4096-ptr_max |
| BUF_SIZE | 2 | mode | 120 |
| CAPPED_DATA | 1 | connector->index | 1 |
| DATA_SOURCE | 1 | connector | r drm_atomic_get_new_connector_for_encoder |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |