Lines Matching full:modes
70 /* Force reduced-blanking timings for detailed modes */
78 int modes; member
489 * edid_fixup_preferred - set preferred modes based on quirk list
494 * on existing modes and setting it anew for the right mode ala @quirks.
848 * EDID is delightfully ambiguous about how interlaced modes are to be
915 /* ignore tiny modes */ in drm_mode_detailed()
1098 int i, modes = 0; in drm_dmt_modes_for_range() local
1108 modes++; in drm_dmt_modes_for_range()
1113 return modes; in drm_dmt_modes_for_range()
1133 int i, modes = 0; in drm_gtf_modes_for_range() local
1141 return modes; in drm_gtf_modes_for_range()
1151 modes++; in drm_gtf_modes_for_range()
1154 return modes; in drm_gtf_modes_for_range()
1161 int i, modes = 0; in drm_cvt_modes_for_range() local
1170 return modes; in drm_cvt_modes_for_range()
1180 modes++; in drm_cvt_modes_for_range()
1183 return modes; in drm_cvt_modes_for_range()
1196 closure->modes += drm_dmt_modes_for_range(closure->connector, in do_inferred_modes()
1206 closure->modes += drm_gtf_modes_for_range(closure->connector, in do_inferred_modes()
1214 closure->modes += drm_cvt_modes_for_range(closure->connector, in do_inferred_modes()
1235 return closure.modes; in add_inferred_modes()
1241 int i, j, m, modes = 0; in drm_est3_modes() local
1258 modes++; in drm_est3_modes()
1264 return modes; in drm_est3_modes()
1274 closure->modes += drm_est3_modes(closure->connector, timing); in do_established_modes()
1278 * add_established_modes - get est. modes from EDID and add them
1281 * Each EDID block contains a bitmap of the supported "established modes" list
1282 * (defined above). Tease them out and add them to the global modes list.
1291 int i, modes = 0; in add_established_modes() local
1302 modes++; in add_established_modes()
1311 return modes + closure.modes; in add_established_modes()
1333 closure->modes++; in do_standard_modes()
1340 * add_standard_modes - get std. modes from EDID and add them
1343 * Standard modes can be calculated using the appropriate standard (DMT,
1349 int i, modes = 0; in add_standard_modes() local
1362 modes++; in add_standard_modes()
1372 return modes + closure.modes; in add_standard_modes()
1378 int i, j, modes = 0; in drm_cvt_modes() local
1415 modes++; in drm_cvt_modes()
1421 return modes; in drm_cvt_modes()
1431 closure->modes += drm_cvt_modes(closure->connector, timing); in do_cvt_mode()
1446 return closure.modes; in add_cvt_modes()
1466 closure->modes++; in do_detailed_mode()
1472 * add_detailed_modes - Add modes from detailed timings
1495 return closure.modes; in add_detailed_modes()
1558 int modes = 0; in do_cea_modes() local
1561 cea_mode = (*mode & 127) - 1; /* CEA modes are numbered 1..127 */ in do_cea_modes()
1568 modes++; in do_cea_modes()
1573 return modes; in do_cea_modes()
1615 int modes = 0; in add_cea_modes() local
1628 modes += do_cea_modes (connector, db+1, dbl); in add_cea_modes()
1632 return modes; in add_cea_modes()
1998 * drm_add_edid_modes - add modes from EDID data, if available
2002 * Add the specified modes to the connector's mode list.
2004 * Return number of modes added or 0 if we couldn't find any.
2023 * EDID spec says modes should be preferred in this order: in drm_add_edid_modes()
2025 * - other detailed modes from base block in drm_add_edid_modes()
2026 * - detailed modes from extension blocks in drm_add_edid_modes()
2027 * - CVT 3-byte code modes in drm_add_edid_modes()
2030 * - modes inferred from GTF or CVT range information in drm_add_edid_modes()
2054 * drm_add_modes_noedid - add modes for the connectors without EDID
2059 * Add the specified modes to the connector's mode list. Only when the
2062 * Return number of modes added or 0 if we couldn't find any.