diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-03-22 12:41:11 -0400 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-03-22 12:41:12 -0400 |
commit | 3315c0dd1cf5aea3aa08a0f2e6b67f3ebabd346a (patch) | |
tree | 017eedc1365bcefd165a597d0265a6248aa90bd8 /src/lib/ecore_drm2 | |
parent | 10474986cc691a6bc9fa39250a73a71906a94000 (diff) |
ecore-drm2: Disable hardware rotation for outputs
Summary:
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
Depends on D8111
Reviewers: raster, cedric, zmike
Subscribers: cedric
Tags: #efl, #do_not_merge
Maniphest Tasks: T7690
Differential Revision: https://phab.enlightenment.org/D8112
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_drm2/ecore_drm2_outputs.c | 7 |
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) | |||
1563 | err: | 1569 | err: |
1564 | sym_drmModeAtomicFree(req); | 1570 | sym_drmModeAtomicFree(req); |
1565 | } | 1571 | } |
1572 | #endif | ||
1566 | 1573 | ||
1567 | return ret; | 1574 | return ret; |
1568 | } | 1575 | } |