diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2017-12-07 20:25:05 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2017-12-15 11:41:18 +0200 |
commit | fde8e0f027a72e07b36cde9a2be9dbf79b58d780 (patch) | |
tree | 6e8b26f8b3cd70917c20d25691a5543a7baf9620 /tests/kmstest.py | |
parent | 398dbd4eab49d12d1c2848e6c7c7e3f2e8fa38e7 (diff) |
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'tests/kmstest.py')
-rwxr-xr-x | tests/kmstest.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 |