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
- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c, line 288
- drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c, line 180
- drivers/gpu/drm/tests/drm_bridge_test.c
Smatch caller information:
drivers/gpu/drm/drm_atomic.c drm_atomic_add_encoder_bridges() -> drm_atomic_get_bridge_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->connectors | 4096-ptr_max |
| PARAM_VALUE | 0 | state->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->num_connector | 1-s32max |
| PARAM_VALUE | 1 | bridge | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge->funcs | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge->funcs->atomic_duplicate_state | 203081768574304256,2790299532685721600,5025401314476335104,5669942720380358656 |
| BUF_SIZE | 0 | state | (-1),176 |
| BUF_SIZE | 0 | state | (-1),176 |
| BUF_SIZE | 0 | state->acquire_ctx | (-1),192 |
| BUF_SIZE | 0 | state->dev | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| CAPPED_DATA | 0 | state->dev->mode_config.num_crtc | 1 |
| CAPPED_DATA | 0 | state->num_connector | 1 |
| DATA_SOURCE | 0 | state | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | state->dev->mode_config.connector_ida.xa.xa_flags | 67108869 |
| HOST_DATA | 0 | state->dev->mode_config.object_idr.idr_rt.xa_flags | 0,67108864-u32max |
| HOST_DATA | 0 | state->dev->mode_config.tile_idr.idr_rt.xa_flags | 0,67108864-u32max |
| HOST_DATA | 0 | state->dev->ref.refcount.refs.counter | s32min-s32max |
| USER_DATA | 0 | state->allow_modeset | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->num_crtcs | |
| LOCK2 | &encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | 0 | &state->dev->mode_config.connection_mutex | |
| HALF_LOCKED2 | 0 | &state->dev->mode_config.connection_mutex.mutex | |
| TYPE_LOCK | (struct drm_encoder)->bridge_chain_mutex |
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c dw_hdmi_rockchip_get_bus_format() -> drm_atomic_get_bridge_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bridge | 4096-ptr_max |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| DATA_SOURCE | 1 | bridge | r drm_bridge_chain_get_first_bridge |
| 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/rockchip/dw_hdmi_qp-rockchip.c dw_hdmi_qp_rockchip_get_vop_format() -> drm_atomic_get_bridge_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bridge | 4096-ptr_max |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| BUF_SIZE | 1 | bridge | (-1)-0,600 |
| DATA_SOURCE | 1 | bridge | r drm_bridge_chain_get_first_bridge |
| 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/tests/drm_bridge_test.c drm_test_drm_bridge_get_current_state_atomic() -> drm_atomic_get_bridge_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->acquire_ctx | 0,4096-ptr_max |
| PARAM_VALUE | 1 | bridge | 4096-ptr_max |
| BUF_SIZE | 0 | state | 176 |
| BUF_SIZE | 0 | state->acquire_ctx | (-1),192 |
| BUF_SIZE | 1 | bridge | 752 |
| DATA_SOURCE | 0 | state | r drm_kunit_helper_atomic_state_alloc |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->num_crtcs |
drivers/gpu/drm/tests/drm_bridge_test.c drm_test_drm_bridge_helper_hdmi_output_bus_fmts() -> drm_atomic_get_bridge_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->acquire_ctx | 6858300436945272832 |
| PARAM_VALUE | 0 | state->crtcs | 4096-ptr_max |
| PARAM_VALUE | 1 | bridge | 4096-ptr_max |
| BUF_SIZE | 0 | state | 176 |
| BUF_SIZE | 0 | state->acquire_ctx | 192 |
| BUF_SIZE | 1 | bridge | 752 |
| DATA_SOURCE | 0 | state | r drm_kunit_helper_atomic_state_alloc |
| MEM_ZERO | 0 | state->acquire_ctx | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_colorop | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_crtc | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->mode_config.num_total_plane | |
| NO_OVERFLOW_SIMPLE | 0 | state->dev->num_crtcs |