From b94abf0327b2ba3731b6c415be73a163e4754aee Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 6 Aug 2020 02:16:37 +0300 Subject: tests: crc: Fix AtomicRequest usage Commit 3cd7e6814cea ("kmstest.py: Fix CRTC disabling") modified the CRC test to use the kmstest.AtomicRequest class, but failed to pass the correct argument to the constructor. Fix it. Fixes: 3cd7e6814cea ("kmstest.py: Fix CRTC disabling") Signed-off-by: Laurent Pinchart --- tests/kms-test-crc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms-test-crc.py b/tests/kms-test-crc.py index d936d1d..dcdfcd4 100755 --- a/tests/kms-test-crc.py +++ b/tests/kms-test-crc.py @@ -58,7 +58,7 @@ class CRCTest(kmstest.KMSTest): self.fail("atomic mode set failed with %d" % ret) continue - req = kmstest.AtomicRequest(self.card) + req = kmstest.AtomicRequest(self) offset = 100 for plane in planes: -- cgit v1.2.3