Home
last modified time | relevance | path

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

/drivers/gpu/drm/
Ddrm_edid.c1508 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
1520 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()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c385 struct drm_display_mode *preferred_mode = in amdgpu_get_native_mode() local
389 amdgpu_encoder->native_mode = *preferred_mode; in amdgpu_get_native_mode()
/drivers/gpu/drm/radeon/
Dradeon_connectors.c415 struct drm_display_mode *preferred_mode = in radeon_get_native_mode() local
419 radeon_encoder->native_mode = *preferred_mode; in radeon_get_native_mode()