Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/i915/display/i9xx_plane.c, line 255
- drivers/gpu/drm/i915/display/intel_cursor.c, line 103
- drivers/gpu/drm/i915/display/skl_universal_plane.c
Smatch caller information:
drivers/gpu/drm/i915/display/skl_universal_plane.c skl_calc_main_surface_offset() -> intel_add_fb_offsets()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 7068742255245066240 |
| PARAM_VALUE | 0 | *x | 0-s16max |
| PARAM_VALUE | 1 | y | 9165388763633471488 |
| PARAM_VALUE | 1 | *y | 0-s16max |
| PARAM_VALUE | 2 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 2 | plane_state->view.color_plane | 4096-ptr_max |
| PARAM_VALUE | 3 | color_plane | 0 |
| CAPPED_DATA | 2 | plane_state->hw.fb->format->num_planes | 1 |
| DATA_SOURCE | 0 | x | $1 |
| DATA_SOURCE | 1 | y | $2 |
| DATA_SOURCE | 2 | plane_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/i915/display/skl_universal_plane.c skl_check_ccs_aux_surface() -> intel_add_fb_offsets()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 1780211020430172160 |
| PARAM_VALUE | 0 | *x | 0-s16max |
| PARAM_VALUE | 1 | y | 2922443688964599808 |
| PARAM_VALUE | 1 | *y | 0-s16max |
| PARAM_VALUE | 2 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 3 | color_plane | 0-254 |
| CAPPED_DATA | 3 | color_plane | 1 |
| DATA_SOURCE | 2 | plane_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | plane_state->uapi.crtc_x | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.crtc_y | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_x | 0-u32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_y | 0-u32max[c] |
| UNITS | 3 | color_plane | unit_array_size |
drivers/gpu/drm/i915/display/skl_universal_plane.c skl_check_nv12_aux_surface() -> intel_add_fb_offsets()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 2904771249690517504 |
| PARAM_VALUE | 0 | *x | 0-16384 |
| PARAM_VALUE | 1 | y | 2933704816552972288 |
| PARAM_VALUE | 1 | *y | 0-16384 |
| PARAM_VALUE | 2 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 3 | color_plane | 1 |
| CAPPED_DATA | 2 | plane_state->hw.fb->format->num_planes | 1 |
| DATA_SOURCE | 2 | plane_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | plane_state->uapi.crtc_x | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.crtc_y | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_x | 0-u32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_y | 0-u32max[c] |
drivers/gpu/drm/i915/display/i9xx_plane.c i9xx_check_plane_surface() -> intel_add_fb_offsets()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 6086382156103630848 |
| PARAM_VALUE | 0 | *x | 0-s16max |
| PARAM_VALUE | 1 | y | 5840543039740379136 |
| PARAM_VALUE | 1 | *y | 0-s16max |
| PARAM_VALUE | 2 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 3 | color_plane | 0 |
| DATA_SOURCE | 2 | plane_state | $0 |
| MEM_ZERO | 2 | &plane_state->hw | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | plane_state->hw.ctm->length | 1-2147483552 |
| USER_DATA | 2 | plane_state->hw.degamma_lut->length | 1-2147483552 |
| USER_DATA | 2 | plane_state->hw.gamma_lut->length | 1-2147483552 |
| USER_DATA | 2 | plane_state->hw.lut_3d->length | 1-2147483552 |
| USER_DATA | 2 | plane_state->uapi.crtc_x | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.crtc_y | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_x | 0-u32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_y | 0-u32max[c] |
drivers/gpu/drm/i915/display/intel_cursor.c intel_cursor_check_surface() -> intel_add_fb_offsets()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 2941422077410766848 |
| PARAM_VALUE | 0 | *x | 0-s16max |
| PARAM_VALUE | 1 | y | 1908533808902914048 |
| PARAM_VALUE | 1 | *y | 0-s16max |
| PARAM_VALUE | 2 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 3 | color_plane | 0 |
| DATA_SOURCE | 2 | plane_state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | plane_state->uapi.crtc_x | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.crtc_y | s32min-s32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_x | 0-u32max[c] |
| USER_DATA | 2 | plane_state->uapi.src_y | 0-u32max[c] |