Lines Matching refs:crtc
23 struct drm_crtc *crtc) in intel_modeset_disable_planes() argument
29 ret = drm_atomic_add_affected_planes(state, crtc); in intel_modeset_disable_planes()
34 if (plane_state->crtc != crtc) in intel_modeset_disable_planes()
54 struct intel_crtc *crtc = NULL; in intel_load_detect_get_pipe() local
80 if (connector->state->crtc) { in intel_load_detect_get_pipe()
81 crtc = to_intel_crtc(connector->state->crtc); in intel_load_detect_get_pipe()
83 ret = drm_modeset_lock(&crtc->base.mutex, ctx); in intel_load_detect_get_pipe()
106 crtc = possible_crtc; in intel_load_detect_get_pipe()
113 if (!crtc) { in intel_load_detect_get_pipe()
140 ret = drm_atomic_set_crtc_for_connector(connector_state, &crtc->base); in intel_load_detect_get_pipe()
144 crtc_state = intel_atomic_get_crtc_state(state, crtc); in intel_load_detect_get_pipe()
157 ret = intel_modeset_disable_planes(state, &crtc->base); in intel_load_detect_get_pipe()
163 ret = PTR_ERR_OR_ZERO(drm_atomic_get_crtc_state(restore_state, &crtc->base)); in intel_load_detect_get_pipe()
165 ret = drm_atomic_add_affected_planes(restore_state, &crtc->base); in intel_load_detect_get_pipe()
183 intel_crtc_wait_for_next_vblank(crtc); in intel_load_detect_get_pipe()