Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/gpu/drm/armada/armada_overlay.c, line 284
- 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 1064
- drivers/gpu/drm/i915/display/intel_load_detect.c, line 38
Smatch caller information:
drivers/gpu/drm/drm_atomic_helper.c drm_atomic_helper_disable_all() -> drm_atomic_set_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | crtc | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | crtc | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc->dev->mode_config.funcs->atomic_commit | 0,1709437739929436160,3385958169767186432,9025212985888776192 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 1 | crtc | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| DATA_SOURCE | 1 | crtc | $1 |
| USER_DATA | 0 | plane_state->state->allow_modeset | 0-1 |
| USER_DATA | 1 | crtc->cursor->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 1 | crtc->cursor->state->hotspot_y | s32min-s32max[u] |
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | 1 | &crtc->cursor->mutex | |
| HALF_LOCKED2 | 1 | &crtc->mutex |
drivers/gpu/drm/drm_atomic_helper.c page_flip_common() -> drm_atomic_set_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | crtc | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc->primary | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc->primary->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc->primary->dev->mode_config.funcs->atomic_state_alloc | 0,4313866966076465152,8746944527109378048 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| CAPPED_DATA | 1 | crtc | 1 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| DATA_SOURCE | 1 | crtc | $1 |
| NO_OVERFLOW_SIMPLE | 0 | plane_state->state->num_connector | |
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | 1 | &crtc->mutex |
drivers/gpu/drm/drm_atomic.c __drm_atomic_helper_disable_plane() -> drm_atomic_set_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc | 0 |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| DATA_SOURCE | 0 | plane_state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | crtc | 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 | |||
| 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_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | crtc | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc->primary | 4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| DATA_SOURCE | 0 | plane_state | r drm_atomic_get_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 1-ptr_max |
| PARAM_VALUE | 1 | crtc | 0,4096-ptr_max |
| BUF_SIZE | 0 | plane_state->state | (-1),176 |
| DATA_SOURCE | 0 | plane_state | $1 |
| DATA_SOURCE | 1 | crtc | r drm_crtc_find |
| 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_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->crtc | 4096-ptr_max |
| PARAM_VALUE | 1 | crtc | 0 |
| CAPPED_DATA | 0 | plane_state->crtc | 1 |
| TASK_NOT_RUNNING | |||
| 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/drm_framebuffer.c atomic_remove_fb() -> drm_atomic_set_crtc_for_plane()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane_state | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->fb | 0 |
| PARAM_VALUE | 0 | plane_state->fb->base.base.id | 0 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.blob_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.blob_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.blob_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.idr_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.idr_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.idr_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | plane_state->fb->base.dev->mode_config.object_idr.idr_rt.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | plane_state->plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane_state->plane->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | crtc | 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 | |||
| 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 |