Defined in 2 files as a function:
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c, line 2807 (as a function)
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c, line 271 (as a function)
Referenced in 2 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_connector_test.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_ddc_get_modes_null_edid() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_detect_connector() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_detect_mst_branch_without_aux() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 10 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_detect_mst_non_mst_link() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 10 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_detect_mst_skips_writeback() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 18 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_edid_ctx_alloc() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 404612591994736640 |
| PARAM_VALUE | 0 | test->last_seen.line | 4435 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | connector_type | 10-11 |
| BUF_SIZE | 0 | test->last_seen.file | 81 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| DATA_SOURCE | 2 | connector_type | $1 |
| STR_LEN | 0 | test->last_seen.file | 80 |
| HARD_MAX | 2 | connector_type | 11 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_modes_ctx_alloc() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 404612591994736640 |
| PARAM_VALUE | 0 | test->last_seen.line | 4526 |
| PARAM_VALUE | 0 | test->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | connector_type | 11,14 |
| BUF_SIZE | 0 | test->last_seen.file | 81 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| DATA_SOURCE | 2 | connector_type | $1 |
| STR_LEN | 0 | test->last_seen.file | 80 |
| HARD_MAX | 2 | connector_type | 14 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_native_mode_no_encoder() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_s3_handle_hdmi_cec_resume() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 18 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_s3_handle_hdmi_cec_resume() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 404612591994736640 |
| PARAM_VALUE | 0 | test->last_seen.line | 2815 |
| PARAM_VALUE | 1 | drm | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | connector_type | 11 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_s3_handle_hdmi_cec_suspend() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 18 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_s3_handle_hdmi_cec_suspend() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 0 | test->last_seen.file | 404612591994736640 |
| PARAM_VALUE | 0 | test->last_seen.line | 2815 |
| PARAM_VALUE | 1 | drm | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->managed.resources.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.helper_private->atomic_commit_tail | 0,113,234517204248432640,264416658693812224,1002985563129995264 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | drm->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | connector_type | 11 |
| CAPPED_DATA | 1 | drm->mode_config.object_idr.idr_base | 1 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_to_encoder_no_encoder() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_update_after_detect_sink_unchanged() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| DATA_SOURCE | 0 | test | $0 |
| DATA_SOURCE | 1 | drm | r dm_test_alloc_drm |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_is_headless_connected_display() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| PARAM_VALUE | 3 | status | 1 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_is_headless_disconnected_display() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| PARAM_VALUE | 3 | status | 2 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_is_headless_mixed_connectors() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 18 |
| PARAM_VALUE | 3 | status | 1 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_is_headless_mixed_connectors() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 10 |
| PARAM_VALUE | 3 | status | 1 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_is_headless_writeback_only() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 18 |
| PARAM_VALUE | 3 | status | 1 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_idle_worker_enabled_breaks_when_not_headless() -> dm_test_add_connector()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | test | 16,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.next->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->next | 2048,4096-ptr_max |
| PARAM_VALUE | 0 | test->mode_config.connector_list.prev->prev | 2048,4096-ptr_max |
| PARAM_VALUE | 1 | drm | 16,4096-ptr_max |
| PARAM_VALUE | 2 | connector_type | 11 |
| PARAM_VALUE | 3 | status | 1 |
| BUF_SIZE | 0 | test | 3696 |
| BUF_SIZE | 1 | drm | 3032 |
| DATA_SOURCE | 0 | test | r dm_kunit_alloc_drm_with_connector_list |
| DATA_SOURCE | 1 | drm | r kunit_kzalloc |
| MEM_ZERO | 1 | drm | |
| NOCHECK_CALL |