Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/drm_atomic.c, line 1282
- drivers/gpu/drm/drm_bridge_helper.c, line 40
- drivers/gpu/drm/tests/drm_atomic_test.c, line 126
Smatch caller information:
drivers/gpu/drm/tests/drm_atomic_test.c drm_test_drm_atomic_get_connector_for_encoder() -> drm_atomic_get_connector_for_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | encoder | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4373920181984514048 |
| PARAM_VALUE | 1 | ctx->locked.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->trylock_only | 0 |
| MEM_ZERO | 1 | ctx | |
| HALF_LOCKED2 | &priv->encoder.dev->mode_config.connection_mutex |
drivers/gpu/drm/drm_bridge_helper.c drm_bridge_helper_reset_crtc() -> drm_atomic_get_connector_for_encoder()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | encoder | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 2287914033048018944,3961089725477515264,9158675968836083712 |
| PARAM_VALUE | 1 | ctx->locked.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx->ww_ctx.contending_lock | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ctx->ww_ctx.deadlock_inject_countdown | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->ww_ctx.deadlock_inject_interval | 0-3758096380,u32max |
| PARAM_VALUE | 1 | ctx->ww_ctx.wounded | 0-1 |
| DATA_SOURCE | 1 | ctx | $1 |
| MEM_ZERO | 1 | ctx | |
| LOCK2 | &dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | global &drm_bridge_unplug_srcu | ||
| TYPE_LOCK | (struct drm_mode_config)->connection_mutex |