Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_plane.c __setplane_atomic() -> __setplane_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 1 | crtc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | crtc->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 2 | fb | 4096-ptr_max |
| CAPPED_DATA | 1 | crtc | 1 |
| DATA_SOURCE | 0 | plane | $0 |
| DATA_SOURCE | 1 | crtc | $1 |
| DATA_SOURCE | 2 | fb | $2 |
| DATA_SOURCE | 3 | crtc_x | $3 |
| DATA_SOURCE | 4 | crtc_y | $4 |
| DATA_SOURCE | 5 | crtc_w | $5 |
| DATA_SOURCE | 6 | crtc_h | $6 |
| DATA_SOURCE | 7 | src_x | $7 |
| DATA_SOURCE | 8 | src_y | $8 |
| DATA_SOURCE | 9 | src_w | $9 |
| DATA_SOURCE | 10 | src_h | $10 |
| USER_DATA | 0 | plane->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | plane->state->hotspot_y | s32min-s32max[u] |
| USER_DATA | 1 | crtc->cursor->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 1 | crtc->cursor->state->hotspot_y | s32min-s32max[u] |
| USER_DATA | 3 | crtc_x | s32min-s32max |
| USER_DATA | 4 | crtc_y | s32min-s32max |
| USER_DATA | 5 | crtc_w | 0-u32max[u] |
| USER_DATA | 6 | crtc_h | 0-u32max[u] |
| USER_DATA | 7 | src_x | 0-u32max |
| USER_DATA | 8 | src_y | 0-u32max |
| USER_DATA | 9 | src_w | 0-u32max |
| USER_DATA | 10 | src_h | 0-u32max |
| UNITS | 4 | crtc_y | unit_byte |
| UNITS | 5 | crtc_w | unit_byte |
| UNITS | 6 | crtc_h | unit_byte |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.mutex | |
| HALF_LOCKED2 | 1 | &crtc->cursor->mutex | |
| HALF_LOCKED2 | 1 | &crtc->mutex |
drivers/gpu/drm/drm_plane.c __setplane_internal() -> __setplane_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| PARAM_VALUE | 1 | crtc | 0,4096-ptr_max |
| PARAM_VALUE | 2 | fb | 4096-ptr_max |
| CAPPED_DATA | 1 | crtc | 1 |
| DATA_SOURCE | 0 | plane | $0 |
| DATA_SOURCE | 1 | crtc | $1 |
| DATA_SOURCE | 2 | fb | $2 |
| DATA_SOURCE | 3 | crtc_x | $3 |
| DATA_SOURCE | 4 | crtc_y | $4 |
| DATA_SOURCE | 5 | crtc_w | $5 |
| DATA_SOURCE | 6 | crtc_h | $6 |
| DATA_SOURCE | 7 | src_x | $7 |
| DATA_SOURCE | 8 | src_y | $8 |
| DATA_SOURCE | 9 | src_w | $9 |
| DATA_SOURCE | 10 | src_h | $10 |
| USER_DATA | 0 | plane->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | plane->state->hotspot_y | s32min-s32max[u] |
| USER_DATA | 1 | crtc->cursor->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 1 | crtc->cursor->state->hotspot_y | s32min-s32max[u] |
| USER_DATA | 3 | crtc_x | s32min-s32max |
| USER_DATA | 4 | crtc_y | s32min-s32max |
| USER_DATA | 5 | crtc_w | 0-u32max[u] |
| USER_DATA | 6 | crtc_h | 0-u32max[u] |
| USER_DATA | 7 | src_x | 0-u32max |
| USER_DATA | 8 | src_y | 0-u32max |
| USER_DATA | 9 | src_w | 0-u32max |
| USER_DATA | 10 | src_h | 0-u32max |
| UNITS | 4 | crtc_y | unit_byte |
| UNITS | 5 | crtc_w | unit_byte |
| UNITS | 6 | crtc_h | unit_byte |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.mutex | |
| HALF_LOCKED2 | 1 | &crtc->cursor->mutex | |
| HALF_LOCKED2 | 1 | &crtc->mutex |