Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c, line 884
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c, line 1606
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c dp_phy_test_pattern_debugfs_write() -> dc_link_dp_set_test_pattern()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | link | 4096-ptr_max |
| PARAM_VALUE | 1 | test_pattern | 0-4,6,23,26-30 |
| PARAM_VALUE | 2 | test_pattern_color_space | 0 |
| PARAM_VALUE | 3 | p_link_settings | 7233630673706409984 |
| PARAM_VALUE | 3 | p_link_settings->link_settings.lane_count | 0-s32max |
| PARAM_VALUE | 4 | p_custom_pattern | 4096-ptr_max |
| PARAM_VALUE | 5 | cust_pattern_size | 10 |
| BUF_SIZE | 4 | p_custom_pattern | 10 |
| BIT_INFO | 1 | test_pattern | 0x0,0x4 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_helpers_dp_handle_test_pattern_request() -> dc_link_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->priv | 4096-ptr_max |
| PARAM_VALUE | 1 | test_pattern | 0,26,28,30 |
| PARAM_VALUE | 2 | test_pattern_color_space | 0-2 |
| PARAM_VALUE | 3 | p_link_settings | 0 |
| PARAM_VALUE | 4 | p_custom_pattern | 0 |
| PARAM_VALUE | 5 | cust_pattern_size | 0 |
| CAPPED_DATA | 0 | link | 1 |
| DATA_SOURCE | 0 | link | $1 |
| FUZZY_MAX | 1 | test_pattern | 30 |
| FUZZY_MAX | 2 | test_pattern_color_space | 2 |
| BIT_INFO | 1 | test_pattern | 0x0,0x1e |
| HARD_MAX | 1 | test_pattern | 30 |
| HARD_MAX | 2 | test_pattern_color_space | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &aconnector->hpd_lock | ||
| HALF_LOCKED2 | &adev->dm.dc_lock |