Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpu/drm/armada/armada_overlay.c, line 288
- drivers/gpu/drm/drm_atomic.c
- drivers/gpu/drm/drm_atomic_helper.c
- drivers/gpu/drm/drm_atomic_uapi.c
- drivers/gpu/drm/drm_framebuffer.c, line 1063
- drivers/gpu/drm/i915/display/intel_cursor.c, line 868
- drivers/gpu/drm/i915/display/intel_load_detect.c, line 42
- drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c, line 320
- drivers/gpu/drm/vc4/vc4_crtc.c, line 1027
Smatch caller information:
drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_disable_all() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 1 | fb | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_update_plane() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| CAPPED_DATA | 1 | fb->format->format | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| DATA_SOURCE | 1 | fb | $2 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | plane_state->state->allow_modeset | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector |
drivers/gpu/drm/drm_atomic_helper.c page_flip_common() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| DATA_SOURCE | 1 | fb | $2 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | &plane->mutex |
drivers/gpu/drm/renesas/shmobile/shmob_drm_crtc.c shmob_drm_crtc_page_flip() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 4096-ptr_max |
| PARAM_VALUE | 1 | fb->format | 4096-ptr_max |
| CAPPED_DATA | 1 | fb->format->format | 1 |
| DATA_SOURCE | 1 | fb | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/drm_atomic.c __drm_atomic_helper_disable_plane() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 0 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| DATA_SOURCE | 0 | plane_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | plane_state->state->allow_modeset | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &client->modeset_mutex |
drivers/gpu/drm/drm_atomic.c __drm_atomic_helper_set_config() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 0 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &client->modeset_mutex |
drivers/gpu/drm/drm_atomic.c __drm_atomic_helper_set_config() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &client->modeset_mutex |
drivers/gpu/drm/drm_atomic_uapi.c drm_atomic_plane_set_property() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | fb | 0,4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| DATA_SOURCE | 0 | plane_state | $1 |
| DATA_SOURCE | 1 | fb | r drm_framebuffer_lookup |
| NOCHECK_CALL | |||
| USER_DATA | 0 | plane_state->state->allow_modeset | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector |
drivers/gpu/drm/i915/display/intel_load_detect.c intel_modeset_disable_planes() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &connector->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &crtc->base.mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex | ||
| HALF_LOCKED2 | &possible_crtc->base.mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |
drivers/gpu/drm/vc4/vc4_crtc.c vc4_async_page_flip_common() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->fb | 0,4096-ptr_max |
| PARAM_VALUE | 1 | fb | 4096-ptr_max |
| PARAM_VALUE | 1 | fb->format | 4096-ptr_max |
| CAPPED_DATA | 1 | fb->format->format | 1 |
| DATA_SOURCE | 1 | fb | $1 |
| NOCHECK_CALL | |||
| LOCK2 | &crtc->mutex | ||
| LOCK2 | &plane->mutex | ||
| TYPE_LOCK | (struct drm_crtc)->mutex | ||
| TYPE_LOCK | (struct drm_plane)->mutex |
drivers/gpu/drm/drm_framebuffer.c atomic_remove_fb() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | fb | 0 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &dev->clientlist_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &helper->lock |
drivers/gpu/drm/i915/display/intel_cursor.c intel_legacy_cursor_update() -> drm_atomic_set_fb_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-u64max |
| PARAM_VALUE | 1 | fb | 4096-ptr_max |
| CAPPED_DATA | 1 | fb->format->format | 1 |
| DATA_SOURCE | 1 | fb | $2 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_crtc->cursor->mutex | ||
| HALF_LOCKED2 | &_crtc->mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &_plane->dev->mode_config.mutex |