Defined in 1 files as a function:
Referenced in 4 files:
- drivers/gpu/drm/tegra/dc.c
- drivers/gpu/drm/tegra/hub.c
- drivers/gpu/drm/tegra/plane.c
- drivers/gpu/drm/tegra/plane.h, line 78
Smatch caller information:
drivers/gpu/drm/tegra/dc.c __tegra_cursor_atomic_update() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/dc.c tegra_crtc_calculate_memory_bandwidth() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 1-ptr_max |
| BUF_SIZE | 0 | state->state | (-1),176 |
| DATA_SOURCE | 0 | state | r drm_atomic_get_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->state->allow_modeset | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | state->state->num_connector | |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/dc.c tegra_cursor_atomic_check() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/dc.c tegra_plane_atomic_check() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/dc.c tegra_plane_atomic_update() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tegra/dc.c tegra_plane_setup_blending_legacy() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tegra/dc.c to_const_tegra_plane_state() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/hub.c tegra_shared_plane_atomic_check() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/hub.c tegra_shared_plane_atomic_update() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vkms_output->lock | ||
| HALF_LOCKED2 | irq |
drivers/gpu/drm/tegra/plane.c tegra_plane_atomic_duplicate_state() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | state->hotspot_x | s32min-s32max[u] |
| USER_DATA | 0 | state->hotspot_y | s32min-s32max[u] |
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &plane->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &plane->dev->mode_config.mutex | ||
| HALF_LOCKED2 | &plane->mutex | ||
| HALF_LOCKED2 | &plane->mutex.mutex |
drivers/gpu/drm/tegra/plane.c tegra_plane_calculate_memory_bandwidth() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| DATA_SOURCE | 0 | state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/plane.c tegra_plane_check_transparency() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->normalized_zpos | 1 |
| DATA_SOURCE | 0 | state | r drm_atomic_get_old_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/tegra/plane.c tegra_plane_cleanup_fb() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| DATA_SOURCE | 0 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/plane.c tegra_plane_prepare_fb() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| CAPPED_DATA | 0 | state->fb->format->num_planes | 1 |
| DATA_SOURCE | 0 | state | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/tegra/plane.c tegra_plane_setup_transparency() -> to_tegra_plane_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | state | r drm_atomic_get_new_plane_state |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &client->modeset_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &dev->mode_config.connection_mutex.mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |