Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_crtc_test.c dm_test_crtc_helper_mode_fixup_returns_true() -> amdgpu_dm_crtc_helper_mode_fixup()

Type Parameter Key Value
PARAM_VALUE 0 crtc 0
PARAM_VALUE 1 mode 7791441264719306752
PARAM_VALUE 2 adjusted_mode 3253155479190478848

drivers/gpu/drm/drm_atomic_helper.c mode_fixup() -> (struct drm_crtc_helper_funcs)->mode_fixup()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->helper_private 4096-ptr_max
PARAM_VALUE 0 crtc->helper_private->mode_fixup 1-u64max
PARAM_VALUE 1 mode 4096-ptr_max
PARAM_VALUE 2 adjusted_mode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 mode->clock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/drm_crtc_helper.c drm_crtc_helper_set_mode() -> (struct drm_crtc_helper_funcs)->mode_fixup()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->dev 4096-ptr_max
PARAM_VALUE 0 crtc->dev->driver 4096-ptr_max
PARAM_VALUE 0 crtc->dev->huge_mnt->mnt_sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 crtc->dev->mode_config.funcs->atomic_commit 0,1709437739929436160,3385958169767186432,9025212985888776192
PARAM_VALUE 0 crtc->enabled 1
PARAM_VALUE 0 crtc->helper_private->mode_fixup 1-u64max
PARAM_VALUE 1 mode 4096-ptr_max
PARAM_VALUE 2 adjusted_mode 4096-ptr_max
BUF_SIZE 1 mode (-1)-0,120
BUF_SIZE 1 mode (-1)-0,120
BUF_SIZE 2 adjusted_mode 120
CAPPED_DATA 0 crtc 1
DATA_SOURCE 0 crtc $0
DATA_SOURCE 1 mode $1
DATA_SOURCE 2 adjusted_mode r drm_mode_duplicate
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 crtc->x 0-s32max
USER_DATA 0 crtc->y 0-s32max
NO_OVERFLOW_SIMPLE 0 crtc->hwmode.clock
NO_OVERFLOW_SIMPLE 0 crtc->mode.clock
NO_OVERFLOW_SIMPLE 1 mode->clock
NO_OVERFLOW_SIMPLE 2 adjusted_mode->clock
HALF_LOCKED2 &dev->mode_config.mutex

drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c dsi_encoder_mode_valid() -> (struct drm_crtc_helper_funcs)->mode_fixup()

Type Parameter Key Value
PARAM_VALUE 0 crtc 4096-ptr_max
PARAM_VALUE 0 crtc->helper_private 4096-ptr_max
PARAM_VALUE 0 crtc->helper_private->mode_fixup 1-u64max
PARAM_VALUE 1 mode 4096-ptr_max
PARAM_VALUE 2 adjusted_mode 7982282226969481216
CAPPED_DATA 0 &crtc->head 1
DATA_SOURCE 1 mode $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 adjusted_mode->clock