Lines Matching refs:status

92 			   enum drm_mode_status *status)
99 ret = drm_connector_mode_valid(connector, mode, ctx, status);
100 if (ret || *status != MODE_OK)
108 *status = drm_encoder_mode_valid(encoder, mode);
109 if (*status != MODE_OK) {
118 *status = drm_bridge_chain_mode_valid(bridge,
121 if (*status != MODE_OK) {
131 *status = drm_crtc_mode_valid(crtc, mode);
132 if (*status == MODE_OK) {
206 enum drm_mode_status *status)
213 *status = MODE_OK;
216 status);
218 *status = connector_funcs->mode_valid(connector, mode);
220 *status = MODE_OK;
365 if (ret != connector->status)
375 * drm_helper_probe_detect - probe connector status
407 if (ret != connector->status)
426 if (count == 0 && connector->status == connector_status_connected)
451 if (mode->status != MODE_OK)
454 mode->status = drm_mode_validate_driver(dev, mode);
455 if (mode->status != MODE_OK)
458 mode->status = drm_mode_validate_size(mode, maxX, maxY);
459 if (mode->status != MODE_OK)
462 mode->status = drm_mode_validate_flag(mode, mode_flags);
463 if (mode->status != MODE_OK)
467 &mode->status);
474 mode->status = MODE_ERROR;
479 if (mode->status != MODE_OK)
481 mode->status = drm_mode_validate_ycbcr420(mode, connector);
507 * drm_mode_probed_add(). New modes start their life with status as OK.
511 * - if the connector status is connector_status_connected, standard
539 * 5. Any mode whose status is not OK is pruned from the connector's modes list,
572 mode->status = MODE_STALE;
574 old_status = connector->status;
579 connector->status = connector_status_connected;
581 connector->status = connector_status_disconnected;
593 connector->status = ret;
602 if (old_status != connector->status) {
603 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] status updated from %s to %s\n",
607 drm_get_connector_status_name(connector->status));
625 if (connector->status == connector_status_disconnected) {
635 if (count == 0 && (connector->status == connector_status_connected ||
636 connector->status == connector_status_unknown)) {
785 old_status = connector->status;
795 connector->status = drm_helper_probe_detect(connector, NULL, false);
809 * Hence clamp an unknown detect status to the old
812 if (connector->status == connector_status_unknown) {
813 connector->status = old_status;
818 new = drm_get_connector_status_name(connector->status);
821 "status updated from %s to %s\n",
943 old_status = connector->status;
945 connector->status = drm_helper_probe_detect(connector, NULL, false);
956 drm_dbg_kms(dev, "[CONNECTOR:%d:%s] status updated from %s to %s\n",
960 drm_get_connector_status_name(connector->status));
990 * A boolean indicating whether the connector status changed or not
1037 * A boolean indicating whether the connector status changed or not
1086 * MODE_OK on success, or another mode-status code otherwise.