Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c, line 5167
- 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_configure_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 0-4 |
| DATA_SOURCE | 0 | source | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c amdgpu_dm_crtc_handle_crc_irq() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c amdgpu_dm_crtc_handle_crc_window_irq() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &drm_dev->event_lock | ||
| LOCK2 | flags1 | ||
| HALF_LOCKED2 | &adev->dm.irq_handler_list_table_lock | ||
| HALF_LOCKED2 | irq_table_flags | ||
| TYPE_LOCK | (struct drm_device)->event_lock |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c amdgpu_dm_crtc_set_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 0-4 |
| DATA_SOURCE | 0 | source | r dm_parse_crc_source |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &crtc->mutex.mutex | ||
| TYPE_LOCK | (struct drm_modeset_lock)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c amdgpu_dm_crtc_set_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &crtc->mutex.mutex | ||
| TYPE_LOCK | (struct drm_modeset_lock)->mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c dm_crc_source_should_start_dprx() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | source | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c dm_crc_source_should_start_dprx() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 0-4 |
| DATA_SOURCE | 0 | source | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c dm_crc_source_should_stop_dprx() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | source | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crc.c dm_crc_source_should_stop_dprx() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 0-4 |
| DATA_SOURCE | 0 | source | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &crtc->mutex.mutex |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 1 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 3 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 2 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 4 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 0 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | 5 |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crc_test.c dm_test_is_valid_crc_source() -> amdgpu_dm_is_valid_crc_source()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | source | (-1) |