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_ism.c
- drivers/gpu/drm/amd/display/amdgpu_dm/tests/amdgpu_dm_ism_test.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_enough_short_idles() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 8 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->next_record_idx | 8 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_entry_count_exceeds_history_size() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 5 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 3 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->next_record_idx | 5 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_mixed_durations() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 8 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->next_record_idx | 8 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_no_short_idles() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 8 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->next_record_idx | 8 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_null_stream() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 1 | stream | 0 |
| BUF_SIZE | 0 | ism | 672 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_old_history_cutoff() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 8 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->config.filter_old_history_threshold | 20 |
| PARAM_VALUE | 0 | ism->last_idle_timestamp_ns | 1666666600 |
| PARAM_VALUE | 0 | ism->next_record_idx | 8 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_wraps_around_buffer() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 10 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_history_size | 8 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 0 | ism->next_record_idx | 2 |
| PARAM_VALUE | 0 | ism->records | 4096-ptr_max |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_zero_delay_frames() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.activation_num_delay_frames | 0 |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 3 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_zero_entry_count() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.filter_entry_count | 0 |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 5 |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_ism_test.c dm_test_ism_idle_delay_zero_filter_frames() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->config.filter_num_frames | 0 |
| PARAM_VALUE | 1 | stream | 4096-ptr_max |
| PARAM_VALUE | 1 | stream->link | 0 |
| PARAM_VALUE | 1 | stream->refcount.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | stream->timing.h_total | 2200 |
| PARAM_VALUE | 1 | stream->timing.pix_clk_100hz | 1485000 |
| PARAM_VALUE | 1 | stream->timing.v_total | 1125 |
| BUF_SIZE | 0 | ism | 672 |
| BUF_SIZE | 1 | stream | 26528 |
| BUF_SIZE | 1 | stream | 26528 |
| DATA_SOURCE | 0 | ism | r alloc_test_ism |
| DATA_SOURCE | 1 | stream | r dm_kunit_alloc_stream |
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_ism.c dm_ism_dispatch_power_state() -> dm_ism_get_idle_allow_delay()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ism | 4096-ptr_max |
| PARAM_VALUE | 0 | ism->current_state | 2 |
| DATA_SOURCE | 0 | ism | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->dm.dc_lock | ||
| HALF_LOCKED2 | &dm->dc_lock | ||
| HALF_LOCKED2 | _T->lock |