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_freesync_config_active_fixed() -> amdgpu_dm_get_freesync_config_for_crtc()

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->base.vrr_enabled 1
PARAM_VALUE 0 new_crtc_state->freesync_config.fixed_refresh_in_uhz 60000000
PARAM_VALUE 0 new_crtc_state->freesync_config.state 4
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->base.vrr_enabled 1
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->base.vrr_enabled 0
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 0
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 1
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 new_crtc_state 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->base.mode.clock 148500
PARAM_VALUE 0 new_crtc_state->base.mode.htotal 2200
PARAM_VALUE 0 new_crtc_state->base.mode.vtotal 1125
PARAM_VALUE 0 new_crtc_state->stream 4096-ptr_max
PARAM_VALUE 0 new_crtc_state->stream->refcount.refcount.refs.counter 1
PARAM_VALUE 0 new_crtc_state->vrr_supported 1
PARAM_VALUE 1 new_con_state 4096-ptr_max
PARAM_VALUE 1 new_con_state->base.connector 16,4096-ptr_max
PARAM_VALUE 1 new_con_state->freesync_capable 1
NOCHECK_CALL