Searched refs:preferred_mode (Results 1 – 4 of 4) sorted by relevance
1874 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local1886 preferred_mode = list_first_entry(&connector->probed_modes, in edid_fixup_preferred()1892 if (cur_mode == preferred_mode) in edid_fixup_preferred()1896 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred()1897 preferred_mode = cur_mode; in edid_fixup_preferred()1901 preferred_vrefresh = preferred_mode->vrefresh ? in edid_fixup_preferred()1902 preferred_mode->vrefresh : drm_mode_vrefresh(preferred_mode); in edid_fixup_preferred()1904 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred()1907 preferred_mode = cur_mode; in edid_fixup_preferred()1911 preferred_mode->type |= DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred()
3528 struct drm_display_mode *preferred_mode = NULL; in create_stream_for_sink() local3569 list_for_each_entry(preferred_mode, &aconnector->base.modes, head) { in create_stream_for_sink()3571 if (preferred_mode->type & DRM_MODE_TYPE_PREFERRED) { in create_stream_for_sink()3577 preferred_mode = list_first_entry_or_null( in create_stream_for_sink()3584 if (preferred_mode == NULL) { in create_stream_for_sink()3594 &mode, preferred_mode, in create_stream_for_sink()3596 preferred_refresh = drm_mode_vrefresh(preferred_mode); in create_stream_for_sink()4858 struct drm_display_mode *preferred_mode = NULL; in amdgpu_dm_get_native_mode() local4860 list_for_each_entry(preferred_mode, in amdgpu_dm_get_native_mode()4863 if (preferred_mode->type & DRM_MODE_TYPE_PREFERRED) in amdgpu_dm_get_native_mode()[all …]
370 struct drm_display_mode *preferred_mode = in amdgpu_get_native_mode() local374 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
403 struct drm_display_mode *preferred_mode = in radeon_get_native_mode() local407 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()