summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index a28e1a3395..557e33f5ab 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1344,8 +1344,8 @@ ecore_drm2_output_mode_set(Ecore_Drm2_Output *output, Ecore_Drm2_Output_Mode *mo
1344 else 1344 else
1345 buffer = output->ocrtc->buffer_id; 1345 buffer = output->ocrtc->buffer_id;
1346 1346
1347 if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer, 1347 if (sym_drmModeSetCrtc(output->fd, output->crtc_id, buffer, 0, 0,
1348 0, 0, &output->conn_id, 1, &mode->info) < 0) 1348 &output->conn_id, 1, &mode->info) < 0)
1349 { 1349 {
1350 ERR("Failed to set Mode %dx%d for Output %s: %m", 1350 ERR("Failed to set Mode %dx%d for Output %s: %m",
1351 mode->width, mode->height, output->name); 1351 mode->width, mode->height, output->name);
@@ -1548,8 +1548,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
1548 pstate->rotation.id, rotation); 1548 pstate->rotation.id, rotation);
1549 if (res < 0) goto err; 1549 if (res < 0) goto err;
1550 1550
1551 res = sym_drmModeAtomicCommit(output->fd, req, flags, 1551 res = sym_drmModeAtomicCommit(output->fd, req, flags, output);
1552 output);
1553 if (res < 0) 1552 if (res < 0)
1554 goto err; 1553 goto err;
1555 else 1554 else