Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_init_with_funcs() -> drm_gem_fb_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->mode_config.funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | fb | 4096-ptr_max |
| PARAM_VALUE | 2 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | mode_cmd | 4096-ptr_max |
| PARAM_VALUE | 3 | mode_cmd->flags | 0-2 |
| PARAM_VALUE | 3 | mode_cmd->height | 1-u32max |
| PARAM_VALUE | 3 | mode_cmd->width | 1-u32max |
| PARAM_VALUE | 4 | obj | 4096-ptr_max |
| PARAM_VALUE | 5 | num_planes | 0-255 |
| PARAM_VALUE | 6 | funcs | 2163087393657724928,3632368392497963008,4271168339807580160,5680782845934649344,8791900362683154432 |
| BUF_SIZE | 1 | fb | (-1),192 |
| BUF_SIZE | 1 | fb | (-1),192 |
| BUF_SIZE | 3 | mode_cmd | (-1),104,128-16383 |
| BUF_SIZE | 3 | mode_cmd | (-1),104,128-16383 |
| BUF_SIZE | 4 | obj | 32 |
| CAPPED_DATA | 2 | info->num_planes | 1 |
| CAPPED_DATA | 3 | mode_cmd->height | 1 |
| CAPPED_DATA | 3 | mode_cmd->pixel_format | 1 |
| CAPPED_DATA | 3 | mode_cmd->width | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | fb | $1 |
| DATA_SOURCE | 2 | info | $3 |
| DATA_SOURCE | 3 | mode_cmd | $4 |
| DATA_SOURCE | 6 | funcs | $5 |
| PARAM_COMPARE | 5 | num_planes | >= $2->num_planes |
| NOSPEC | 3 | mode_cmd->height | |
| NOSPEC | 3 | mode_cmd->width | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | mode_cmd->fb_id | 0-u32max[u] |
| USER_DATA | 3 | mode_cmd->flags | 0-2[u] |
| USER_DATA | 3 | mode_cmd->height | 1-s32max[c] |
| USER_DATA | 3 | mode_cmd->pixel_format | 0-u32max[c] |
| USER_DATA | 3 | mode_cmd->width | 1-s32max[c] |
| UNITS | 5 | num_planes | unit_array_size |
| USER_PTR | 3 | mode_cmd | |
| USER_PTR | 3 | mode_cmd->handles | |
| USER_PTR | 3 | mode_cmd->modifier | |
| USER_PTR | 3 | mode_cmd->offsets | |
| USER_PTR | 3 | mode_cmd->pitches | |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |