Searched refs:preferred_mode (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s12/open-src/kernel/drm/src/
H A Ddrm_edid.c1210 struct drm_display_mode *t, *cur_mode, *preferred_mode; local
1221 preferred_mode = list_first_entry(&connector->probed_modes,
1227 if (cur_mode == preferred_mode)
1231 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode))
1232 preferred_mode = cur_mode;
1235 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
1237 MODE_REFRESH_DIFF(preferred_mode, target_refresh)) {
1238 preferred_mode = cur_mode;
1242 preferred_mode->type |= DRM_MODE_TYPE_PREFERRED;

Completed in 16 milliseconds