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/amdgpu_dm_connector.c add_fs_modes() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->dc_link 4096-ptr_max
PARAM_VALUE 0 aconnector->dc_link->link_id.id 1-2,5
PARAM_VALUE 0 aconnector->dc_sink 4096-ptr_max
PARAM_VALUE 0 aconnector->dc_sink->ctx 4096-ptr_max
PARAM_VALUE 0 aconnector->dc_sink->ctx->dce_version 3-s32max
PARAM_VALUE 1 use_probed_modes 1
DATA_SOURCE 0 aconnector $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &connector->dev->mode_config.mutex

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c amdgpu_dm_is_freesync_video_mode() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 1-u64max
PARAM_VALUE 1 use_probed_modes 0
BUF_SIZE 0 aconnector (-1),9272
BUF_SIZE 0 aconnector (-1),9272
DATA_SOURCE 0 aconnector $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_connector.c create_stream_for_sink() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->base.connector_type s32min-17,19-s32max
PARAM_VALUE 0 aconnector->dc_sink 0,4096-ptr_max
PARAM_VALUE 0 aconnector->freesync_vid_base.clock s32min-(-1),1-s32max
PARAM_VALUE 1 use_probed_modes 0
NO_OVERFLOW_SIMPLE 0 aconnector->freesync_vid_base.clock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_update_crtc_state() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->base.connector_type s32min-17,19-s32max
PARAM_VALUE 0 aconnector->freesync_vid_base.clock s32min-(-1),1-s32max
PARAM_VALUE 1 use_probed_modes 0
NO_OVERFLOW_SIMPLE 0 aconnector->freesync_vid_base.clock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_highest_refresh_cached_base() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->base.connector_type 11
PARAM_VALUE 0 aconnector->freesync_vid_base.clock 148500
PARAM_VALUE 1 use_probed_modes 0
BUF_SIZE 0 aconnector 9272
DATA_SOURCE 0 aconnector r kunit_kzalloc
MEM_ZERO 0 aconnector

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_highest_refresh_preferred_mode() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->base.connector_type 11
PARAM_VALUE 0 aconnector->base.modes.next 4096-ptr_max
PARAM_VALUE 0 aconnector->base.modes.next->next 4096-ptr_max
PARAM_VALUE 0 aconnector->base.modes.prev 4096-ptr_max
PARAM_VALUE 0 aconnector->base.modes.prev->next->next 4096-ptr_max
PARAM_VALUE 1 use_probed_modes 0
BUF_SIZE 0 aconnector 9272
DATA_SOURCE 0 aconnector r kunit_kzalloc
MEM_ZERO 0 aconnector

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_connector_test.c dm_test_highest_refresh_writeback_null() -> amdgpu_dm_get_highest_refresh_rate_mode()

Type Parameter Key Value
PARAM_VALUE 0 aconnector 4096-ptr_max
PARAM_VALUE 0 aconnector->base.connector_type 18
PARAM_VALUE 1 use_probed_modes 0
BUF_SIZE 0 aconnector 9272
DATA_SOURCE 0 aconnector r kunit_kzalloc
MEM_ZERO 0 aconnector