Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_edid.c1288 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
1299 preferred_mode = list_first_entry(&connector->probed_modes, in edid_fixup_preferred()
1305 if (cur_mode == preferred_mode) in edid_fixup_preferred()
1309 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred()
1310 preferred_mode = cur_mode; in edid_fixup_preferred()
1313 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred()
1315 MODE_REFRESH_DIFF(preferred_mode, target_refresh)) { in edid_fixup_preferred()
1316 preferred_mode = cur_mode; in edid_fixup_preferred()
1320 preferred_mode->type |= DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred()