Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 5370
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_connector.c, line 401
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c is_dsc_precompute_needed() -> amdgpu_dm_find_first_crtc_matching_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc | 1-u64max |
| DATA_SOURCE | 0 | state | $0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c pre_validate_dsc() -> amdgpu_dm_find_first_crtc_matching_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->num_connector | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | state->dev->mode_config.num_crtc | 1 |
| CAPPED_DATA | 0 | state->num_connector | 1 |
| DATA_SOURCE | 0 | state | $0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_crtc_state() -> amdgpu_dm_find_first_crtc_matching_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| DATA_SOURCE | 1 | crtc | $2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_find_first_crtc_empty_state() -> amdgpu_dm_find_first_crtc_matching_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->num_connector | 0 |
| PARAM_VALUE | 1 | crtc | 16,4096-ptr_max |
| BUF_SIZE | 0 | state | 176 |
| BUF_SIZE | 1 | crtc | 2048 |
| DATA_SOURCE | 0 | state | r dm_test_alloc_atomic_state |
| DATA_SOURCE | 1 | crtc | r kunit_kzalloc |
| MEM_ZERO | 1 | crtc |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_find_first_crtc_no_match() -> amdgpu_dm_find_first_crtc_matching_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->connectors | 4096-ptr_max |
| PARAM_VALUE | 0 | state->num_connector | 1 |
| PARAM_VALUE | 1 | crtc | 16,4096-ptr_max |
| BUF_SIZE | 0 | state | 176 |
| BUF_SIZE | 1 | crtc | 2048 |
| DATA_SOURCE | 0 | state | r dm_test_alloc_atomic_state |
| DATA_SOURCE | 1 | crtc | r kunit_kzalloc |
| MEM_ZERO | 1 | crtc |