summaryrefslogtreecommitdiff
path: root/tests/kms-test-planeposition.py
AgeCommit message (Collapse)Author
2022-06-29tests: Rename kms-test-planeposition.py to kms-test-plane-position.pyLaurent Pinchart
Match the name scheme of other tests by renaming kms-test-planeposition.py to kms-test-plane-position.py. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-06-29tests: Convert to formatted string literalsLaurent Pinchart
Use formatted string literals to replace legacy printf-style string formatting. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-06-29tests: Replace double quotes with single quotesLaurent Pinchart
The code base mixes single and double quotes. Standardize on single quotes except for triple-quoted strings (to match the PEP8 coding style) and where the string contains single quotes to avoid the need to escape them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2020-08-08tests: planeposition: Test disabling and enabling off-screen planesLaurent Pinchart
Add a test to enable an off-screen plane, in addition to the existing tests that move enabled planes on screen. This new test crashes the DU driver. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2020-07-14Add license and copyright informationLaurent Pinchart
Add SPDX tags to describe license and copyright information to all files in the repository. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
2019-06-19kmstest.py: Add output_connectors() helper to skip writeback connectorsLaurent Pinchart
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>
2017-12-15kmstest.py: Update to the latest kmsxx Python bindingsLaurent Pinchart
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>
2017-11-26tests: planeposition: Wait 3s after moving planes off-screenLaurent Pinchart
Add a 3s delay after each off-screen position test, as we do for partially off-screen tests, in order to allow time for visual inspection. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-11-13tests: planeposition: Accept off-screen planesLaurent Pinchart
The DU driver now accepts off-screen planes (but obviously don't display them). Update the test accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2017-08-16Initial importLaurent Pinchart
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>