Defined in 2 files as a prototype:
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.h, line 71 (as a prototype)
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.h, line 105 (as a prototype)
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c, line 1568
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_auxless.c, line 40
- drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training_dpia.c, line 111
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_training_dpia.c dpia_configure_link() -> dp_decide_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->aux_access_disabled | 0 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->hwss.enable_dp_link_output | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_clock->id | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_clock->mode | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_clock->pin | 0-s64max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->id | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->mode | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->pin | 0-s64max |
| PARAM_VALUE | 0 | link->dp_trace.commit_lt_trace.counts.fail | 0-s32max |
| PARAM_VALUE | 0 | link->dp_trace.commit_lt_trace.result | 0-13 |
| PARAM_VALUE | 0 | link->ep_type | 1 |
| PARAM_VALUE | 0 | link->link_enc->hpd_gpio->id | s32min-s32max |
| PARAM_VALUE | 0 | link->panel_mode | 0-2 |
| PARAM_VALUE | 0 | link->phy_state.symclk_state | 1 |
| PARAM_VALUE | 1 | link_res | 4096-ptr_max |
| PARAM_VALUE | 2 | link_settings | 7132758645898596352 |
| PARAM_VALUE | 3 | lt_settings | 776363108802117632 |
| PARAM_VALUE | 3 | lt_settings->always_match_dpcd_with_hw_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->cr_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->disallow_per_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->enhanced_framing | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_loop_count_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->ffe_preset | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.lane_count | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_rate | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_spread | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.use_link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_early_tps2 | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_mode | 1-3 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cds | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cr | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_eq | 0 |
| PARAM_VALUE | 3 | lt_settings->post_cursor2 | 0 |
| PARAM_VALUE | 3 | lt_settings->pre_emphasis | 0 |
| PARAM_VALUE | 3 | lt_settings->should_set_fec_ready | 0 |
| PARAM_VALUE | 3 | lt_settings->voltage_swing | 0 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | link_res | $1 |
| DATA_SOURCE | 2 | link_settings | $2 |
| DATA_SOURCE | 3 | lt_settings | $3 |
| MEM_ZERO | 0 | &link->dp_trace.commit_lt_trace | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_dp_training_auxless.c dp_perform_link_training_skip_aux() -> dp_decide_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->aux_access_disabled | 1 |
| PARAM_VALUE | 0 | link->ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->logger | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->hwss.enable_dp_link_output | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | link->dp_trace.commit_lt_trace.result | 0 |
| PARAM_VALUE | 0 | link->ext_enc_id.id | 0 |
| PARAM_VALUE | 0 | link->panel_mode | 0-2 |
| PARAM_VALUE | 0 | link->phy_state.symclk_state | 1 |
| PARAM_VALUE | 1 | link_res | 4096-ptr_max |
| PARAM_VALUE | 2 | link_settings | 7132758645898596352 |
| PARAM_VALUE | 3 | lt_settings | 8745160794961096704 |
| PARAM_VALUE | 3 | lt_settings->always_match_dpcd_with_hw_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->cr_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->disallow_per_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->enhanced_framing | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_loop_count_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->ffe_preset | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.lane_count | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_spread | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.use_link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_early_tps2 | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_mode | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cds | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cr | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_eq | 0 |
| PARAM_VALUE | 3 | lt_settings->post_cursor2 | 0 |
| PARAM_VALUE | 3 | lt_settings->pre_emphasis | 0 |
| PARAM_VALUE | 3 | lt_settings->should_set_fec_ready | 0 |
| PARAM_VALUE | 3 | lt_settings->voltage_swing | 0 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | link_res | $1 |
| DATA_SOURCE | 2 | link_settings | $2 |
| MEM_ZERO | 0 | &link->dp_trace.commit_lt_trace | |
| NOCHECK_CALL |
58030d6fa8df3e6e dp_perform_link_training() -> dp_decide_training_settings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->hwss.enable_dp_link_output | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | link->ddc->ctx->driver_context->dm.dpia_aux_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | link->phy_state.symclk_state | 1 |
| PARAM_VALUE | 1 | link_res | 4096-ptr_max |
| PARAM_VALUE | 2 | link_settings | 2421258890379845632,7132758645898596352 |
| PARAM_VALUE | 3 | lt_settings | 18841051748196352 |
| PARAM_VALUE | 3 | lt_settings->always_match_dpcd_with_hw_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->cds_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->cr_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->disallow_per_lane_settings | 0 |
| PARAM_VALUE | 3 | lt_settings->enhanced_framing | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_loop_count_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_pattern_time | 0 |
| PARAM_VALUE | 3 | lt_settings->eq_wait_time_limit | 0 |
| PARAM_VALUE | 3 | lt_settings->ffe_preset | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.lane_count | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.link_spread | 0 |
| PARAM_VALUE | 3 | lt_settings->link_settings.use_link_rate_set | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_early_tps2 | 0 |
| PARAM_VALUE | 3 | lt_settings->lttpr_mode | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cds | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_cr | 0 |
| PARAM_VALUE | 3 | lt_settings->pattern_for_eq | 0 |
| PARAM_VALUE | 3 | lt_settings->post_cursor2 | 0 |
| PARAM_VALUE | 3 | lt_settings->pre_emphasis | 0 |
| PARAM_VALUE | 3 | lt_settings->should_set_fec_ready | 0 |
| PARAM_VALUE | 3 | lt_settings->voltage_swing | 0 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | link_res | $1 |
| DATA_SOURCE | 2 | link_settings | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |