From fde8e0f027a72e07b36cde9a2be9dbf79b58d780 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 7 Dec 2017 20:25:05 +0200 Subject: kmstest.py: Update to the latest kmsxx Python bindings Commit 706a44abb3aa ("Update to latest pybind11") of kmsxx broke the test suite by changing the signature of the AtomicRequest::commit function. Update the test suite accordingly. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- tests/kmstest.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/kmstest.py') diff --git a/tests/kmstest.py b/tests/kmstest.py index cb0d9a7..62f0376 100755 --- a/tests/kmstest.py +++ b/tests/kmstest.py @@ -183,7 +183,7 @@ class KMSTest(object): if sync: return req.commit_sync(True) else: - return req.commit(self, True) + return req.commit(0, True) def atomic_crtc_mode_set(self, crtc, connector, mode, fb=None, sync=False): """Perform a mode set on the given connector and CRTC. The framebuffer, @@ -213,7 +213,7 @@ class KMSTest(object): if sync: return req.commit_sync(True) else: - return req.commit(self, True) + return req.commit(0, True) def atomic_plane_set(self, plane, crtc, source, destination, fb, sync=False): req = pykms.AtomicReq(self.card) @@ -232,7 +232,7 @@ class KMSTest(object): if sync: return req.commit_sync() else: - return req.commit(self) + return req.commit(0) def atomic_planes_disable(self, sync=True): req = pykms.AtomicReq(self.card) @@ -242,7 +242,7 @@ class KMSTest(object): if sync: return req.commit_sync() else: - return req.commit(self) + return req.commit(0) def __handle_page_flip(self, frame, time): self.flips += 1 -- cgit v1.2.3