Summary: This fixes a minor oversight in ecore_drm_output_mode_add
which was not setting the mode->flag to preferred if this is a
preferred mode.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
mode->refresh = refresh;
mode->info = *info;
- /* DBG("Added Mode: %dx%d@%d to Output %d", */
- /* mode->width, mode->height, mode->refresh, output->crtc_id); */
+ if (info->type & DRM_MODE_TYPE_PREFERRED)
+ mode->flags |= DRM_MODE_TYPE_PREFERRED;
output->modes = eina_list_append(output->modes, mode);