projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0595e70
)
ecore_drm2: Add an env var to disable atomic pageflips
author
Derek Foreman
<derekf@osg.samsung.com>
Thu, 27 Apr 2017 15:13:14 +0000
(10:13 -0500)
committer
Derek Foreman
<derekf@osg.samsung.com>
Fri, 5 May 2017 17:53:21 +0000
(12:53 -0500)
Allows testing non-atomic paths without a reboot or a rebuild.
src/lib/ecore_drm2/ecore_drm2_device.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_drm2/ecore_drm2_device.c
b/src/lib/ecore_drm2/ecore_drm2_device.c
index
5ee4903
..
dbd95fe
100644
(file)
--- a/
src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/
src/lib/ecore_drm2/ecore_drm2_device.c
@@
-620,8
+620,10
@@
ecore_drm2_device_open(Ecore_Drm2_Device *device)
# if 0
/* check that this system can do atomic */
_ecore_drm2_use_atomic = _drm2_atomic_usable(device->fd);
- if (_ecore_drm2_use_atomic)
# endif
+ if (getenv("ECORE_DRM2_ATOMIC_DISABLE"))
+ _ecore_drm2_use_atomic = EINA_FALSE;
+ if (_ecore_drm2_use_atomic)
#endif
{
if (sym_drmSetClientCap(device->fd,