Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 5187
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_crc_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c amdgpu_dm_crtc_set_crc_source() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->commit_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev->event_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | crtc->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 1 | dm_crtc_state | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 0-4 |
| BUF_SIZE | 0 | crtc | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | crtc | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | crtc | 1 |
| DATA_SOURCE | 0 | crtc | $0 |
| DATA_SOURCE | 2 | source | r dm_parse_crc_source |
| STR_LEN | 0 | crtc | (-1),4,7 |
| STR_LEN | 0 | crtc | (-1),4,7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &crtc->mutex.mutex | |
| HALF_LOCKED2 | 0 | &crtc->mutex | |
| TYPE_LOCK | (struct drm_modeset_lock)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_crtc() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_crtc_configure_fails() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_crtc_dcn36_poly() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_dprx() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 3 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_dprx_dither() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 4 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_no_stream() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | dm_crtc_state | 16,4096-ptr_max |
| PARAM_VALUE | 2 | source | 1 |
| BUF_SIZE | 1 | dm_crtc_state | 456 |
| DATA_SOURCE | 1 | dm_crtc_state | r kunit_kzalloc |
| MEM_ZERO | 1 | dm_crtc_state |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_crtc_configure_crc_source_none() -> amdgpu_dm_crtc_configure_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | crtc->mutex.head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | source | 0 |