Searched refs:cur_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
1224 list_for_each_entry_safe(cur_mode, t, struct drm_display_mode, &connector->probed_modes, head) {
1225 cur_mode->type &= ~DRM_MODE_TYPE_PREFERRED;
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)) &&
1236 MODE_REFRESH_DIFF(cur_mode, target_refresh) <
1238 preferred_mode = cur_mode;

Completed in 16 milliseconds