Searched refs:preferred_mode (Results 1 – 3 of 3) sorted by relevance
1508 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local1520 preferred_mode = list_first_entry(&connector->probed_modes, in edid_fixup_preferred()1526 if (cur_mode == preferred_mode) in edid_fixup_preferred()1530 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred()1531 preferred_mode = cur_mode; in edid_fixup_preferred()1535 preferred_vrefresh = preferred_mode->vrefresh ? in edid_fixup_preferred()1536 preferred_mode->vrefresh : drm_mode_vrefresh(preferred_mode); in edid_fixup_preferred()1538 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred()1541 preferred_mode = cur_mode; in edid_fixup_preferred()1545 preferred_mode->type |= DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred()
385 struct drm_display_mode *preferred_mode = in amdgpu_get_native_mode() local389 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
415 struct drm_display_mode *preferred_mode = in radeon_get_native_mode() local419 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()