summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_drm')
-rw-r--r--src/lib/ecore_drm/ecore_drm_output.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c
index c66a9da479..d6573f3a3d 100644
--- a/src/lib/ecore_drm/ecore_drm_output.c
+++ b/src/lib/ecore_drm/ecore_drm_output.c
@@ -498,19 +498,6 @@ _ecore_drm_output_create(Ecore_Drm_Device *dev, drmModeRes *res, drmModeConnecto
498 498
499 output->current_mode->flags |= DRM_MODE_TYPE_DEFAULT; 499 output->current_mode->flags |= DRM_MODE_TYPE_DEFAULT;
500 500
501 if (output->connected)
502 {
503 if (drmModeSetCrtc(output->dev->drm.fd, output->crtc_id,
504 output->crtc->buffer_id, 0, 0,
505 &output->conn_id, 1, &output->current_mode->info) < 0)
506 {
507 ERR("Failed to set Mode %dx%d for Output %s: %m",
508 output->current_mode->width, output->current_mode->height,
509 output->name);
510 goto err;
511 }
512 }
513
514 /* try to init backlight */ 501 /* try to init backlight */
515 output->backlight = 502 output->backlight =
516 _ecore_drm_output_backlight_init(output, conn->connector_type); 503 _ecore_drm_output_backlight_init(output, conn->connector_type);