Lines Matching defs:modes

84 /* Force reduced-blanking timings for detailed modes */
102 int modes;
229 * This table is copied from xfree86/modes/xf86EdidModes.c.
588 * These more or less come from the DMT spec. The 720x400 modes are
590 * modes are old-school Mac modes. The EDID spec says the 1152x864@75 mode
594 * The DMT modes have been fact-checked; the rest are mild guesses.
1532 * HDMI 1.4 4k modes. Index using the VIC.
1843 * drm_add_override_edid_modes - add modes from override/firmware EDID
1846 * Add modes from the override/firmware EDID, if available. Only to be used from
1851 * Return: The number of modes added or 0 if we couldn't find any.
1864 DRM_DEBUG_KMS("[CONNECTOR:%d:%s] adding %d modes via fallback override/firmware EDID\n",
2118 * edid_fixup_preferred - set preferred modes based on quirk list
2123 * on existing modes and setting it anew for the right mode ala @quirks.
2487 * EDID is delightfully ambiguous about how interlaced modes are to be
2554 /* ignore tiny modes */
2737 int i, modes = 0;
2747 modes++;
2752 return modes;
2772 int i, modes = 0;
2780 return modes;
2790 modes++;
2793 return modes;
2800 int i, modes = 0;
2809 return modes;
2819 modes++;
2822 return modes;
2835 closure->modes += drm_dmt_modes_for_range(closure->connector,
2845 closure->modes += drm_gtf_modes_for_range(closure->connector,
2853 closure->modes += drm_cvt_modes_for_range(closure->connector,
2875 return closure.modes;
2881 int i, j, m, modes = 0;
2898 modes++;
2904 return modes;
2914 closure->modes += drm_est3_modes(closure->connector, timing);
2918 * add_established_modes - get est. modes from EDID and add them
2922 * Each EDID block contains a bitmap of the supported "established modes" list
2923 * (defined above). Tease them out and add them to the global modes list.
2932 int i, modes = 0;
2944 modes++;
2953 return modes + closure.modes;
2974 closure->modes++;
2981 * add_standard_modes - get std. modes from EDID and add them
2985 * Standard modes can be calculated using the appropriate standard (DMT,
2991 int i, modes = 0;
3004 modes++;
3014 return modes + closure.modes;
3020 int i, j, modes = 0;
3057 modes++;
3063 return modes;
3073 closure->modes += drm_cvt_modes(closure->connector, timing);
3089 return closure.modes;
3111 * Detailed modes are limited to 10kHz pixel clock resolution,
3118 closure->modes++;
3124 * add_detailed_modes - Add modes from detailed timings
3146 return closure.modes;
3266 * variant for 240 and 480 line modes,
3406 * Calculate the alternate clock for HDMI modes (those from the HDMI vendor
3492 int modes = 0;
3494 /* Don't add CEA modes if the CEA extension block is missing */
3499 * Go through all probed modes and create a new mode
3500 * with the alternate clock for certain CEA modes.
3552 modes++;
3555 return modes;
3579 /* CEA modes are numbered 1..127 */
3594 * do_y420vdb_modes - Parse YCBCR 420 only modes
3600 * which contains modes which can be supported in YCBCR 420
3606 int modes = 0, i;
3623 modes++;
3626 if (modes > 0)
3628 return modes;
3653 int i, modes = 0;
3662 * gives the index of CEA modes from CEA VDB, which
3667 * Add YCBCR420 modes only if sink is HDMI 2.0 capable.
3673 modes++;
3677 return modes;
3715 int modes = 0, i;
3735 modes++;
3741 return modes;
3767 int modes = 0;
3776 modes++;
3786 modes++;
3796 modes++;
3800 return modes;
3809 * Parses the HDMI VSDB looking for modes to add to @connector. This function
3810 * also adds the stereo 3d modes when applicable.
3817 int modes = 0, offset = 0, i, multi_present = 0, multi_len;
3845 modes += add_hdmi_mandatory_stereo_modes(connector);
3859 modes += add_hdmi_mode(connector, vic);
3888 modes += add_3d_struct_modes(connector,
3935 modes++;
3944 if (modes > 0)
3946 return modes;
4096 /* All CEA modes support ycbcr420 sampling also.*/
4103 * This map indicates which of the existing CEA block modes
4111 * address 8 CEA modes, in this way this map can address
4132 int modes = 0;
4147 modes += do_cea_modes(connector, video, dbl);
4154 /* Add 4:2:0(only) modes present in EDID */
4155 modes += do_y420vdb_modes(connector,
4163 * We parse the HDMI VSDB after having added the cea modes as we will
4167 modes += do_hdmi_vsdb_modes(connector, hdmi, hdmi_len, video,
4170 return modes;
4702 /* All CEA modes other than VIC 1 use limited quantization range. */
4820 * modes and forbids YCRCB422 support for all video modes per
5124 * drm_add_edid_modes - add modes from EDID data, if available
5128 * Add the specified modes to the connector's mode list. Also fills out the
5132 * Return: The number of modes added or 0 if we couldn't find any.
5155 * from sink info, before parsing CEA modes.
5160 * EDID spec says modes should be preferred in this order:
5162 * - other detailed modes from base block
5163 * - detailed modes from extension blocks
5164 * - CVT 3-byte code modes
5167 * - modes inferred from GTF or CVT range information
5203 * drm_add_modes_noedid - add modes for the connectors without EDID
5208 * Add the specified modes to the connector's mode list. Only when the
5211 * Return: The number of modes added or 0 if we couldn't find any.
5379 * HDMI spec says if a mode is found in HDMI 1.4b 4K modes
5382 * HDMI 1.4b 4K modes