summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_outputs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_outputs.c b/src/lib/ecore_drm2/ecore_drm2_outputs.c
index a820f7d3f5..f45b5657f5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_outputs.c
+++ b/src/lib/ecore_drm2/ecore_drm2_outputs.c
@@ -1522,6 +1522,12 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
1522 1522
1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE); 1523 EINA_SAFETY_ON_NULL_RETURN_VAL(output, EINA_FALSE);
1524 1524
1525#if 0
1526 /* XXX: Disable hardware plane rotation for now as this has broken
1527 * recently. The break happens because of an invalid argument,
1528 * ie: the value being sent from pstate->rotation_map ends up being
1529 * incorrect for some reason. I suspect the breakage to be from
1530 * kernel drivers (linux 4.20.0) but have not confirmed that version */
1525 if (_ecore_drm2_use_atomic) 1531 if (_ecore_drm2_use_atomic)
1526 { 1532 {
1527 Eina_List *l; 1533 Eina_List *l;
@@ -1563,6 +1569,7 @@ ecore_drm2_output_rotation_set(Ecore_Drm2_Output *output, int rotation)
1563err: 1569err:
1564 sym_drmModeAtomicFree(req); 1570 sym_drmModeAtomicFree(req);
1565 } 1571 }
1572#endif
1566 1573
1567 return ret; 1574 return ret;
1568} 1575}