Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_framebuffer.c
- drivers/gpu/drm/drm_gem_framebuffer_helper.c, line 175
- drivers/gpu/drm/xlnx/zynqmp_disp.c, line 1170
Smatch caller information:
drivers/gpu/drm/drm_gem_framebuffer_helper.c drm_gem_fb_init_with_funcs() -> drm_format_info_plane_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->num_planes | 1-255 |
| PARAM_VALUE | 1 | width | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | plane | 0-254 |
| CAPPED_DATA | 0 | info->num_planes | 1 |
| CAPPED_DATA | 1 | width | 1 |
| CAPPED_DATA | 2 | plane | 1 |
| DATA_SOURCE | 0 | info | $3 |
| PARAM_COMPARE | 2 | plane | < $0->num_planes |
| NOSPEC | 1 | width | |
| NOSPEC | 1 | width | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | width | 2-s32max[c] |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | plane | unit_array_size |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |
drivers/gpu/drm/drm_framebuffer.c drm_framebuffer_print_info() -> drm_format_info_plane_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->num_planes | 1-255 |
| PARAM_VALUE | 2 | plane | 0-254 |
| CAPPED_DATA | 2 | plane | 1 |
| PARAM_COMPARE | 0 | info->num_planes | > $2 |
| PARAM_COMPARE | 2 | plane | < $0->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | plane | unit_array_size |
| HALF_LOCKED2 | &dev->mode_config.fb_lock | ||
| HALF_LOCKED2 | &m->lock |
drivers/gpu/drm/drm_framebuffer.c framebuffer_check() -> drm_format_info_plane_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->num_planes | 1-255 |
| PARAM_VALUE | 1 | width | s32min-(-1),1-s32max |
| PARAM_VALUE | 2 | plane | 0-254 |
| CAPPED_DATA | 1 | width | 1 |
| CAPPED_DATA | 2 | plane | 1 |
| DATA_SOURCE | 0 | info | $1 |
| PARAM_COMPARE | 2 | plane | < $0->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | width | 2-s32max[c] |
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | plane | unit_array_size |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex |
drivers/gpu/drm/xlnx/zynqmp_disp.c zynqmp_disp_layer_update() -> drm_format_info_plane_width()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->num_planes | 1-255 |
| PARAM_VALUE | 2 | plane | 0-254 |
| CAPPED_DATA | 2 | plane | 1 |
| PARAM_COMPARE | 2 | plane | < $0->num_planes |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | width | unit_byte |
| UNITS | 2 | plane | unit_array_size |
| HALF_LOCKED2 | irq |