From f4f5e930412a007b9f862024cccede416da8b2d9 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 19 Jun 2019 03:09:09 +0300 Subject: kmstest.py: Add output_connectors() helper to skip writeback connectors Add a generator method to the KMSTest class to enumerate all non-writeback connectors, and use it through tests. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- tests/kms-test-allplanes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms-test-allplanes.py') diff --git a/tests/kms-test-allplanes.py b/tests/kms-test-allplanes.py index f416723..ca7baa0 100755 --- a/tests/kms-test-allplanes.py +++ b/tests/kms-test-allplanes.py @@ -12,7 +12,7 @@ class AllPlanesTest(kmstest.KMSTest): def main(self): # Create the connectors to CRTCs map connectors = {} - for connector in self.card.connectors: + for connector in self.output_connectors(): # Skip disconnected connectors if not connector.connected(): continue -- cgit v1.2.3