diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-06-19 03:09:09 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-06-19 12:05:07 +0300 |
commit | f4f5e930412a007b9f862024cccede416da8b2d9 (patch) | |
tree | f466ccc59329a49ecab7a2a6156420e477ef8ea2 /tests/kms-test-planeposition.py | |
parent | 7e89c26cd015d8fb48202d327bb550d1f70cbb38 (diff) |
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Diffstat (limited to 'tests/kms-test-planeposition.py')
-rwxr-xr-x | tests/kms-test-planeposition.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms-test-planeposition.py b/tests/kms-test-planeposition.py index 63f745b..ac4b4d0 100755 --- a/tests/kms-test-planeposition.py +++ b/tests/kms-test-planeposition.py @@ -11,7 +11,7 @@ class PlanePositionTest(kmstest.KMSTest): self.start("plane positioning boundaries") # Find a CRTC with a connected connector and at least two planes - for connector in self.card.connectors: + for connector in self.output_connectors(): if not connector.connected(): self.skip("unconnected connector") continue |