Lines Matching full:modes

153 	/* Only add a GTF mode if we find no matching probed modes */  in drm_helper_probe_add_cmdline_mode()
450 list_for_each_entry(mode, &connector->modes, head) { in __drm_helper_update_and_validate()
488 * drm_helper_probe_single_connector_modes - get complete set of display modes
490 * @maxX: max width for modes
491 * @maxY: max height for modes
494 * &drm_connector_helper_funcs try to detect all valid modes. Modes will first
496 * and the @maxX, @maxY parameters) and put into the normal modes list.
504 * 1. All modes currently on the connector's modes list are marked as stale
506 * 2. New modes are added to the connector's probed_modes list with
507 * drm_mode_probed_add(). New modes start their life with status as OK.
508 * Modes are added from a single source using the following priority order.
512 * VESA DMT modes up to 1024x768 are automatically added
515 * Finally modes specified via the kernel command line (video=...) are
517 * (drm_helper_probe_add_cmdline_mode()). These modes are generated
520 * 3. Modes are moved from the probed_modes list to the modes list. Potential
524 * 4. Any non-stale mode on the modes list then undergoes validation
527 * - drm_mode_validate_size() filters out modes larger than @maxX and @maxY
529 * - drm_mode_validate_flag() checks the modes against basic connector
539 * 5. Any mode whose status is not OK is pruned from the connector's modes list,
544 * The number of modes found on @connector.
570 /* set all old modes to the stale state */ in drm_helper_probe_single_connector_modes()
571 list_for_each_entry(mode, &connector->modes, head) in drm_helper_probe_single_connector_modes()
629 drm_mode_prune_invalid(dev, &connector->modes, false); in drm_helper_probe_single_connector_modes()
656 drm_mode_prune_invalid(dev, &connector->modes, true); in drm_helper_probe_single_connector_modes()
661 * mode. If all modes were pruned, perhaps because they need more in drm_helper_probe_single_connector_modes()
665 if (list_empty(&connector->modes) && in drm_helper_probe_single_connector_modes()
673 drm_mode_prune_invalid(dev, &connector->modes, true); in drm_helper_probe_single_connector_modes()
680 if (list_empty(&connector->modes)) in drm_helper_probe_single_connector_modes()
683 drm_mode_sort(&connector->modes); in drm_helper_probe_single_connector_modes()
685 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] probed modes :\n", connector->base.id, in drm_helper_probe_single_connector_modes()
687 list_for_each_entry(mode, &connector->modes, head) { in drm_helper_probe_single_connector_modes()
1110 * The number of detected display modes.
1113 * connector's EDID property and display modes. Drivers can use this
1144 * This function duplicates a display modes for a connector. Drivers for hardware
1149 * The number of created modes.
1190 * Returns: Number of modes.
1216 * drm_connector_helper_tv_get_modes - Fills the modes availables to a TV connector
1219 * Fills the available modes for a TV connector based on the supported
1220 * TV modes, and the default mode expressed by the kernel command line.
1226 * The number of modes added to the connector.