Lines Matching full:modes

75 	int modes;  member
440 * edid_fixup_preferred - set preferred modes based on quirk list
445 * on existing modes and setting it anew for the right mode ala @quirks.
766 * EDID is delightfully ambiguous about how interlaced modes are to be
833 /* ignore tiny modes */ in drm_mode_detailed()
994 * XXX If drm_dmt_modes ever regrows the CVT-R modes (and it will) this will
1001 int i, modes = 0; in drm_gtf_modes_for_range() local
1010 modes++; in drm_gtf_modes_for_range()
1015 return modes; in drm_gtf_modes_for_range()
1026 closure->modes += drm_gtf_modes_for_range(closure->connector, in do_inferred_modes()
1042 return closure.modes; in add_inferred_modes()
1048 int i, j, m, modes = 0; in drm_est3_modes() local
1065 modes++; in drm_est3_modes()
1071 return modes; in drm_est3_modes()
1081 closure->modes += drm_est3_modes(closure->connector, timing); in do_established_modes()
1085 * add_established_modes - get est. modes from EDID and add them
1088 * Each EDID block contains a bitmap of the supported "established modes" list
1089 * (defined above). Tease them out and add them to the global modes list.
1098 int i, modes = 0; in add_established_modes() local
1109 modes++; in add_established_modes()
1118 return modes + closure.modes; in add_established_modes()
1140 closure->modes++; in do_standard_modes()
1147 * add_standard_modes - get std. modes from EDID and add them
1150 * Standard modes can be calculated using the appropriate standard (DMT,
1156 int i, modes = 0; in add_standard_modes() local
1169 modes++; in add_standard_modes()
1179 return modes + closure.modes; in add_standard_modes()
1185 int i, j, modes = 0; in drm_cvt_modes() local
1222 modes++; in drm_cvt_modes()
1228 return modes; in drm_cvt_modes()
1238 closure->modes += drm_cvt_modes(closure->connector, timing); in do_cvt_mode()
1253 return closure.modes; in add_cvt_modes()
1273 closure->modes++; in do_detailed_mode()
1279 * add_detailed_modes - Add modes from detailed timings
1302 return closure.modes; in add_detailed_modes()
1343 int modes = 0; in do_cea_modes() local
1346 cea_mode = (*mode & 127) - 1; /* CEA modes are numbered 1..127 */ in do_cea_modes()
1353 modes++; in do_cea_modes()
1358 return modes; in do_cea_modes()
1366 int modes = 0; in add_cea_modes() local
1372 modes += do_cea_modes (connector, db+1, dbl); in add_cea_modes()
1376 return modes; in add_cea_modes()
1712 * drm_add_edid_modes - add modes from EDID data, if available
1716 * Add the specified modes to the connector's mode list.
1718 * Return number of modes added or 0 if we couldn't find any.
1737 * EDID spec says modes should be preferred in this order: in drm_add_edid_modes()
1739 * - other detailed modes from base block in drm_add_edid_modes()
1740 * - detailed modes from extension blocks in drm_add_edid_modes()
1741 * - CVT 3-byte code modes in drm_add_edid_modes()
1744 * - modes inferred from GTF or CVT range information in drm_add_edid_modes()
1767 * drm_add_modes_noedid - add modes for the connectors without EDID
1772 * Add the specified modes to the connector's mode list. Only when the
1775 * Return number of modes added or 0 if we couldn't find any.