Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/drm_atomic.c, line 819
- drivers/gpu/drm/drm_crtc.c, line 809
- drivers/gpu/drm/drm_plane.c
- drivers/gpu/drm/i915/display/intel_fb.c
Smatch caller information:
drivers/gpu/drm/drm_atomic.c drm_atomic_plane_check() -> drm_plane_has_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex |
drivers/gpu/drm/drm_plane.c __setplane_check() -> drm_plane_has_format()
| 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 |
| DATA_SOURCE | 0 | plane | $0 |
| USER_DATA | 0 | plane->state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | plane->state->hotspot_y | s32min-s32max[u] |
| HALF_LOCKED2 | &crtc->cursor->mutex | ||
| HALF_LOCKED2 | &crtc->mutex | ||
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &plane->dev->mode_config.mutex |
drivers/gpu/drm/drm_plane.c drm_any_plane_has_format() -> drm_plane_has_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported | 0,4096-ptr_max |
| CAPPED_DATA | 0 | &plane->head | 1 |
| DATA_SOURCE | 1 | format | $1 |
| DATA_SOURCE | 2 | modifier | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | format | 0-u32max[c] |
| USER_DATA | 2 | modifier | 0-u64max |
drivers/gpu/drm/drm_crtc.c drm_mode_setcrtc() -> drm_plane_has_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| PARAM_VALUE | 0 | plane->format_default | 0 |
| PARAM_VALUE | 0 | plane->funcs->format_mod_supported | 0,4096-ptr_max |
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.mutex |
drivers/gpu/drm/i915/display/intel_fb.c intel_fb_min_alignment() -> drm_plane_has_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/i915/display/intel_fb.c intel_fb_vtd_guard() -> drm_plane_has_format()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | plane | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |