summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cp.michael@samsung.com>2019-03-06 09:24:39 -0500
committerChristopher Michael <cp.michael@samsung.com>2019-03-21 14:00:15 -0400
commitd7ed26df3493ce74e88bf973530c1e83e5d3639c (patch)
treedbd39f6150321891e12be00e4069c8bcd499128a
parent86cfaad63f3d189fa37a0e09843f8cc3f7ab0b26 (diff)
ecore-drm2: Disable hardware rotation for outputs
Setting output primary plane rotation is broken at the moment, so this commit will disable that for now until this can be investigated ref T7690 Differential Revision: https://phab.enlightenment.org/D8112
-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}