summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_outputs.c
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-02-06 10:07:20 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-02-06 10:07:20 -0500
commitc62bac00cb7fe8634aee4da33729af8ef372e092 (patch)
treee005efd2ff2551364d015db0da3915200fe1b292 /src/lib/ecore_drm2/ecore_drm2_outputs.c
parent3999a975798043d7b6a716346db25a9c3c462199 (diff)
ecore-drm2: Minor formatting fixes.
NB: No functional changes
Diffstat (limited to '')
-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