Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c dm_test_dc_timing_adjust_active_fixed() -> amdgpu_dm_is_dc_timing_adjust_needed()

Type Parameter Key Value
PARAM_VALUE 0 old_state 16,4096-ptr_max
PARAM_VALUE 1 new_state 4096-ptr_max
PARAM_VALUE 1 new_state->freesync_config.state 4
PARAM_VALUE 1 new_state->stream 16,4096-ptr_max
BUF_SIZE 0 old_state 456
BUF_SIZE 1 new_state 456
BUF_SIZE 1 new_state->stream 26552
DATA_SOURCE 0 old_state r kunit_kzalloc
DATA_SOURCE 1 new_state r kunit_kzalloc
MEM_ZERO 0 old_state
MEM_ZERO 1 new_state

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c dm_test_dc_timing_adjust_not_needed() -> amdgpu_dm_is_dc_timing_adjust_needed()

Type Parameter Key Value
PARAM_VALUE 0 old_state 4096-ptr_max
PARAM_VALUE 0 old_state->freesync_config.state 2
PARAM_VALUE 1 new_state 4096-ptr_max
PARAM_VALUE 1 new_state->freesync_config.state 2
PARAM_VALUE 1 new_state->stream 16,4096-ptr_max
BUF_SIZE 0 old_state 456
BUF_SIZE 1 new_state 456
BUF_SIZE 1 new_state->stream 26552
DATA_SOURCE 0 old_state r kunit_kzalloc
DATA_SOURCE 1 new_state r kunit_kzalloc
MEM_ZERO 0 old_state
MEM_ZERO 1 new_state

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c dm_test_dc_timing_adjust_pending() -> amdgpu_dm_is_dc_timing_adjust_needed()

Type Parameter Key Value
PARAM_VALUE 0 old_state 16,4096-ptr_max
PARAM_VALUE 1 new_state 4096-ptr_max
PARAM_VALUE 1 new_state->stream 4096-ptr_max
BUF_SIZE 0 old_state 456
BUF_SIZE 1 new_state 456
BUF_SIZE 1 new_state->stream 26552
DATA_SOURCE 0 old_state r kunit_kzalloc
DATA_SOURCE 1 new_state r kunit_kzalloc
MEM_ZERO 0 old_state
MEM_ZERO 1 new_state

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_freesync_test.c dm_test_dc_timing_adjust_vrr_toggle() -> amdgpu_dm_is_dc_timing_adjust_needed()

Type Parameter Key Value
PARAM_VALUE 0 old_state 4096-ptr_max
PARAM_VALUE 0 old_state->freesync_config.state 3
PARAM_VALUE 1 new_state 4096-ptr_max
PARAM_VALUE 1 new_state->freesync_config.state 2
PARAM_VALUE 1 new_state->stream 16,4096-ptr_max
BUF_SIZE 0 old_state 456
BUF_SIZE 1 new_state 456
BUF_SIZE 1 new_state->stream 26552
DATA_SOURCE 0 old_state r kunit_kzalloc
DATA_SOURCE 1 new_state r kunit_kzalloc
MEM_ZERO 0 old_state
MEM_ZERO 1 new_state