Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/i915/display/intel_ddi.c
- drivers/gpu/drm/i915/display/intel_dp_link_training.c
- drivers/gpu/drm/i915/display/intel_dp_mst.c
- drivers/gpu/drm/i915/display/intel_dp_tunnel.c, line 794
Smatch caller information:
drivers/gpu/drm/i915/display/intel_ddi.c mtl_ddi_pre_enable_dp() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->has_panel_replay | 1 |
| PARAM_VALUE | 2 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 2 | crtc_state->port_clock | 1000000-s32max |
| PARAM_VALUE | 2 | crtc_state->uapi.crtc | 4096-ptr_max |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | $1 |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_ddi.c tgl_ddi_pre_enable_dp() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->has_panel_replay | 1 |
| PARAM_VALUE | 2 | crtc_state->intel_dpll->info->id | 0-32 |
| PARAM_VALUE | 2 | crtc_state->port_clock | 1000000-s32max |
| PARAM_VALUE | 2 | crtc_state->uapi.crtc | 4096-ptr_max |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | $1 |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_schedule_fallback_link_training() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->has_panel_replay | 1 |
| PARAM_VALUE | 2 | crtc_state->intel_dpll->info->id | 0-32 |
| BUF_SIZE | 1 | encoder | 728 |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_dp_link_training.c queue_modeset_retry_for_links_in_state() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.acquire_ctx | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->base.acquire_ctx->interruptible | 0 |
| PARAM_VALUE | 0 | state->base.acquire_ctx->locked.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.acquire_ctx->trylock_only | 0 |
| PARAM_VALUE | 0 | state->base.crtcs | 4096-ptr_max |
| PARAM_VALUE | 0 | state->internal | 1 |
| PARAM_VALUE | 1 | encoder | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 1-u64max |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | $1 |
| DATA_SOURCE | 2 | crtc_state | r intel_atomic_get_new_crtc_state |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &display->drm->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |
drivers/gpu/drm/i915/display/intel_dp_mst.c mst_stream_enable() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.crtcs | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.dev | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->intel_dpll->info->id | 0-8 |
| PARAM_VALUE | 2 | crtc_state->uapi.crtc | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->vrr.flipline | 0-1 |
| BUF_SIZE | 1 | encoder | 728 |
| CAPPED_DATA | 0 | state->base.dev->mode_config.num_crtc | 1 |
| CAPPED_DATA | 0 | state->base.dev->mode_config.num_total_plane | 1 |
| CAPPED_DATA | 0 | state->base.num_connector | 1 |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| CAPPED_DATA | 0 | state->num_global_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | r to_primary_encoder |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/i915/display/intel_dp_mst.c mst_stream_pre_enable() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->intel_dpll->info->id | 0-32 |
| BUF_SIZE | 1 | encoder | 728 |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | r to_primary_encoder |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/intel_dp_tunnel.c queue_retry_work() -> intel_dp_queue_modeset_retry_for_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.crtcs | 4096-ptr_max |
| PARAM_VALUE | 0 | state->base.dev | 4096-ptr_max |
| PARAM_VALUE | 1 | encoder | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->dp_tunnel_ref.tunnel | 4096-ptr_max |
| PARAM_VALUE | 2 | crtc_state->uapi.crtc | 4096-ptr_max |
| CAPPED_DATA | 0 | state->base.dev->mode_config.num_crtc | 1 |
| CAPPED_DATA | 0 | state->base.dev->mode_config.num_total_plane | 1 |
| CAPPED_DATA | 0 | state->base.num_connector | 1 |
| CAPPED_DATA | 0 | state->base.num_private_objs | 1 |
| DATA_SOURCE | 0 | state | $0 |
| DATA_SOURCE | 1 | encoder | r intel_get_crtc_new_encoder |
| DATA_SOURCE | 2 | crtc_state | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |