Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c
- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c
- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c
Smatch caller information:
drivers/gpu/drm/drm_atomic_helper.c mode_fixup() -> (struct drm_encoder_helper_funcs)->mode_fixup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | encoder | 4096-ptr_max |
| PARAM_VALUE | 0 | encoder->helper_private | 4096-ptr_max |
| PARAM_VALUE | 0 | encoder->helper_private->atomic_check | 0 |
| PARAM_VALUE | 0 | encoder->helper_private->mode_fixup | 4096-ptr_max |
| 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_encoder_helper_funcs)->mode_fixup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | encoder | 4096-ptr_max |
| PARAM_VALUE | 0 | encoder->crtc | 4096-ptr_max |
| PARAM_VALUE | 0 | encoder->helper_private | 4096-ptr_max |
| PARAM_VALUE | 0 | encoder->helper_private->mode_fixup | 4096-ptr_max |
| 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 | encoder->crtc | 1 |
| CAPPED_DATA | 0 | &encoder->head | 1 |
| DATA_SOURCE | 1 | mode | $1 |
| DATA_SOURCE | 2 | adjusted_mode | r drm_mode_duplicate |
| CONTAINER | 0 | -16-264+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | mode->clock | |
| NO_OVERFLOW_SIMPLE | 2 | adjusted_mode->clock | |
| HALF_LOCKED2 | &dev->mode_config.mutex |