aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'py/tests/sync.py')
-rwxr-xr-xpy/tests/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/tests/sync.py b/py/tests/sync.py
index 4616ee8..e394c8d 100755
--- a/py/tests/sync.py
+++ b/py/tests/sync.py
@@ -148,7 +148,7 @@ class FlipHandler():
148 fence = self.timeline.create_fence(2 * self.flips - 1) 148 fence = self.timeline.create_fence(2 * self.flips - 1)
149 req = pykms.AtomicReq(self.crtc.card) 149 req = pykms.AtomicReq(self.crtc.card)
150 req.add(self.crtc.primary_plane, { 'FB_ID': fb.id, 'IN_FENCE_FD': fence.fd }) 150 req.add(self.crtc.primary_plane, { 'FB_ID': fb.id, 'IN_FENCE_FD': fence.fd })
151 req.commit(self) 151 req.commit()
152 del fence 152 del fence
153 153
154 # Arm a timer to signal the fence in 0.5s. 154 # Arm a timer to signal the fence in 0.5s.
@@ -207,7 +207,7 @@ def main(argv):
207 def readdrm(fileobj, mask): 207 def readdrm(fileobj, mask):
208 for ev in card.read_events(): 208 for ev in card.read_events():
209 if ev.type == pykms.DrmEventType.FLIP_COMPLETE: 209 if ev.type == pykms.DrmEventType.FLIP_COMPLETE:
210 ev.data.handle_page_flip(ev.seq, ev.time) 210 flip_handler.handle_page_flip(ev.seq, ev.time)
211 211
212 def readkey(fileobj, mask): 212 def readkey(fileobj, mask):
213 sys.stdin.readline() 213 sys.stdin.readline()