Lines Matching refs:modes
155 /* Only add a GTF mode if we find no matching probed modes */
338 * drm_helper_probe_single_connector_modes - get complete set of display modes
340 * @maxX: max width for modes
341 * @maxY: max height for modes
344 * &drm_connector_helper_funcs try to detect all valid modes. Modes will first
346 * and the @maxX, @maxY parameters) and put into the normal modes list.
354 * 1. All modes currently on the connector's modes list are marked as stale
356 * 2. New modes are added to the connector's probed_modes list with
357 * drm_mode_probed_add(). New modes start their life with status as OK.
358 * Modes are added from a single source using the following priority order.
362 * VESA DMT modes up to 1024x768 are automatically added
365 * Finally modes specified via the kernel command line (video=...) are
367 * (drm_helper_probe_add_cmdline_mode()). These modes are generated
370 * 3. Modes are moved from the probed_modes list to the modes list. Potential
374 * 4. Any non-stale mode on the modes list then undergoes validation
377 * - drm_mode_validate_size() filters out modes larger than @maxX and @maxY
379 * - drm_mode_validate_flag() checks the modes against basic connector
388 * 5. Any mode whose status is not OK is pruned from the connector's modes list,
393 * The number of modes found on @connector.
423 /* set all old modes to the stale state */
424 list_for_each_entry(mode, &connector->modes, head)
512 list_for_each_entry(mode, &connector->modes, head) {
532 drm_mode_prune_invalid(dev, &connector->modes, verbose_prune);
537 if (list_empty(&connector->modes))
540 list_for_each_entry(mode, &connector->modes, head)
543 drm_mode_sort(&connector->modes);
545 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] probed modes :\n", connector->base.id,
547 list_for_each_entry(mode, &connector->modes, head) {