aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'py/tests/modeset_event.py')
-rwxr-xr-xpy/tests/modeset_event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/tests/modeset_event.py b/py/tests/modeset_event.py
index 0957e51..11cfd58 100755
--- a/py/tests/modeset_event.py
+++ b/py/tests/modeset_event.py
@@ -6,7 +6,7 @@ import sys
6 6
7def readdrm(fileobj, mask): 7def readdrm(fileobj, mask):
8 for ev in card.read_events(): 8 for ev in card.read_events():
9 ev.data(ev) 9 eventhandler(ev)
10 10
11def waitevent(sel): 11def waitevent(sel):
12 events = sel.select(1) 12 events = sel.select(1)
@@ -67,7 +67,7 @@ if ret != 0:
67 print("Atomic test failed: %d" % ret) 67 print("Atomic test failed: %d" % ret)
68 sys.exit() 68 sys.exit()
69 69
70req.commit(eventhandler, allow_modeset = True) 70req.commit(0, allow_modeset = True)
71waitevent(sel) 71waitevent(sel)
72 72
73input("press enter to exit\n") 73input("press enter to exit\n")