Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/dc/link/link_detection.c
- drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c, line 335
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c get_max_edp_link_rate() -> dp_get_max_link_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | link | $0 |
drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c should_verify_link_capability_destructively() -> dp_get_max_link_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc_bios->golden_table.dc_golden_table_ver | 0-1 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->res_pool->funcs->link_encs_assign | 0,5262900683136417792 |
| 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->mode | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->pin | 0-s64max |
| PARAM_VALUE | 0 | link->local_sink | 4096-ptr_max |
| PARAM_VALUE | 0 | link->local_sink->sink_signal | 32,64,128 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 verify_link_capability_destructive() -> dp_get_max_link_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc_bios->golden_table.dc_golden_table_ver | 0-1 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->current_state | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| 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->mode | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->pin | 0-s64max |
| PARAM_VALUE | 0 | link->local_sink | 4096-ptr_max |
| PARAM_VALUE | 0 | link->local_sink->sink_signal | 32,64 |
| CAPPED_DATA | 0 | link | 1 |
| CAPPED_DATA | 0 | link->dc->current_state->stream_count | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 verify_link_capability_non_destructive() -> dp_get_max_link_cap()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->ctx->dc_bios->golden_table.dc_golden_table_ver | 0-1 |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| 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->mode | s32min-s32max |
| PARAM_VALUE | 0 | link->ddc->ddc_pin->pin_data->pin | 0-s64max |
| PARAM_VALUE | 0 | link->ep_type | s32min-0,2-s32max |
| PARAM_VALUE | 0 | link->local_sink | 4096-ptr_max |
| PARAM_VALUE | 0 | link->local_sink->sink_signal | 32,64 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |