Lines Matching refs:state
12 * The HDMI core has a state machine and a PHY. On BCM2835, most of
303 struct drm_atomic_state *state;
307 state = drm_atomic_state_alloc(crtc->dev);
308 if (!state)
311 state->acquire_ctx = ctx;
313 crtc_state = drm_atomic_get_crtc_state(state, crtc);
321 ret = drm_atomic_commit(state);
323 drm_atomic_state_put(state);
348 conn_state = connector->state;
357 crtc_state = crtc->state;
428 * any state with any of the other frameworks so we can ignore
469 * any state with any of the other frameworks so we can ignore
504 * any state with any of the other frameworks so we can ignore
533 struct drm_atomic_state *state)
536 drm_atomic_get_old_connector_state(state, connector);
540 drm_atomic_get_new_connector_state(state, connector);
555 crtc_state = drm_atomic_get_crtc_state(state, crtc);
569 ret = drm_atomic_add_affected_planes(state, crtc);
579 crtc_state = drm_atomic_get_crtc_state(state, crtc);
590 const struct drm_connector_state *state,
598 conn_state_to_vc4_hdmi_conn_state(state);
612 struct drm_connector_state *state,
620 conn_state_to_vc4_hdmi_conn_state(state);
635 conn_state_to_vc4_hdmi_conn_state(connector->state);
639 if (connector->state)
640 __drm_atomic_helper_connector_destroy_state(connector->state);
658 struct drm_connector_state *conn_state = connector->state;
734 * Some of the properties below require access to state, like bpc.
735 * Allocate some default initial connector state with our reset helper.
901 struct drm_connector_state *cstate = connector->state;
961 struct drm_connector_state *conn_state = connector->state;
1086 struct drm_atomic_state *state)
1124 struct drm_atomic_state *state)
1159 struct drm_connector_state *state,
1163 conn_state_to_vc4_hdmi_conn_state(state);
1396 struct drm_connector_state *state,
1401 conn_state_to_vc4_hdmi_conn_state(state);
1419 csc = vc5_hdmi_find_yuv_csc_coeffs(vc4_hdmi, state->colorspace, !!lim_range);
1425 csc = vc5_hdmi_find_yuv_csc_coeffs(vc4_hdmi, state->colorspace, !!lim_range);
1462 struct drm_connector_state *state,
1526 struct drm_connector_state *state,
1531 conn_state_to_vc4_hdmi_conn_state(state);
1677 struct drm_atomic_state *state)
1683 drm_atomic_get_new_connector_state(state, connector);
1705 * As stated in RPi's vc4 firmware "HDMI state machine (HSM) clock must
1796 struct drm_atomic_state *state)
1803 drm_atomic_get_new_connector_state(state, connector);
1826 struct drm_atomic_state *state)
2158 drm_atomic_get_old_connector_state(conn_state->state, connector);
3423 DRM_ERROR("Failed to get HDMI state machine clock\n");
3507 DRM_ERROR("Failed to get HDMI state machine clock\n");
3673 * Since we don't know the state of the controller and its