Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/
Ddrm_edid.c1874 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
1886 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()
/Linux-v5.4/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c3528 struct drm_display_mode *preferred_mode = NULL; in create_stream_for_sink() local
3569 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() local
4860 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 …]
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c370 struct drm_display_mode *preferred_mode = in amdgpu_get_native_mode() local
374 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_connectors.c403 struct drm_display_mode *preferred_mode = in radeon_get_native_mode() local
407 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()