Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/display/dc/core/dc.c, line 4503
- drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
- drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c, line 234
- drivers/gpu/drm/amd/display/dc/link/accessories/link_dp_cts.c, line 446
- drivers/gpu/drm/amd/display/dc/link/link_factory.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/accessories/link_dp_cts.c dp_test_send_phy_test_pattern() -> dp_set_test_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 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->dc->current_state->res_ctx.hpo_dp_link_enc_to_link_idx | 0-4294967295 |
| PARAM_VALUE | 1 | test_pattern | 0-4,6,8-19,23 |
| PARAM_VALUE | 2 | test_pattern_color_space | 3 |
| PARAM_VALUE | 3 | p_link_settings | 6824018069740511232 |
| PARAM_VALUE | 3 | p_link_settings->lttpr_mode | 1-3 |
| PARAM_VALUE | 4 | p_custom_pattern | 4096-ptr_max |
| PARAM_VALUE | 5 | cust_pattern_size | 0-1,10,33 |
| BUF_SIZE | 4 | p_custom_pattern | 33 |
| CAPPED_DATA | 0 | link | 1 |
| CAPPED_DATA | 0 | link->cur_link_settings.lane_count | 1 |
| DATA_SOURCE | 0 | link | $0 |
| FUZZY_MAX | 1 | test_pattern | 23 |
| FUZZY_MAX | 5 | cust_pattern_size | 33 |
| BIT_INFO | 5 | cust_pattern_size | 0x0,0x2b |
| HARD_MAX | 1 | test_pattern | 23 |
| HARD_MAX | 5 | cust_pattern_size | 33 |
| MEM_ZERO | 3 | p_link_settings | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | &adev->dm.dc_lock |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_exports.c dc_link_dp_set_test_pattern() -> (struct link_service)->dp_set_test_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 1 | test_pattern | 0-4,6,23,26-30 |
| PARAM_VALUE | 2 | test_pattern_color_space | 0-2 |
| PARAM_VALUE | 3 | p_link_settings | 0,7233630673706409984 |
| PARAM_VALUE | 3 | p_link_settings->link_settings.lane_count | 0-s32max |
| PARAM_VALUE | 4 | p_custom_pattern | 0,4096-ptr_max |
| PARAM_VALUE | 5 | cust_pattern_size | 0,10 |
| BUF_SIZE | 4 | p_custom_pattern | (-1),10 |
| BUF_SIZE | 4 | p_custom_pattern | (-1),10 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $0 |
| DATA_SOURCE | 1 | test_pattern | $1 |
| DATA_SOURCE | 2 | test_pattern_color_space | $2 |
| DATA_SOURCE | 3 | p_link_settings | $3 |
| DATA_SOURCE | 4 | p_custom_pattern | $4 |
| DATA_SOURCE | 5 | cust_pattern_size | $5 |
| FUZZY_MAX | 1 | test_pattern | 30 |
| FUZZY_MAX | 2 | test_pattern_color_space | 2 |
| CONTAINER | 0 | -832-1872-488+0 | $(-1) |
| BIT_INFO | 1 | test_pattern | 0x0,0x1e |
| HARD_MAX | 2 | test_pattern_color_space | 2 |
| HARD_MAX | 5 | cust_pattern_size | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.c hwss_dp_set_test_pattern() -> (struct link_service)->dp_set_test_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv | 4096-ptr_max |
| PARAM_VALUE | 0 | link->dc->link_srv->dp_set_test_pattern | 1-u64max |
| CONTAINER | 0 | -832-1872-488+0 | $(-1) |
| NOCHECK_CALL |