summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-09 23:23:40 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-29 21:08:22 +0300
commit2c679688f5077ac0ba61ab534ebcbb133248e605 (patch)
tree02fc1fda3487ceddd3bcd85cd4a2776ecb6cd719
parentdcbc93a117b0efaa0e42fa6359eed4a71a9ca341 (diff)
tests: allplanes: Log the plane IDs
Plane IDs are useful for debugging, log them. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rwxr-xr-xtests/kms-test-allplanes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/kms-test-allplanes.py b/tests/kms-test-allplanes.py
index 0fe6cfa..96ac4f1 100755
--- a/tests/kms-test-allplanes.py
+++ b/tests/kms-test-allplanes.py
@@ -46,7 +46,8 @@ class AllPlanesTest(kmstest.KMSTest):
continue
self.logger.log(f'Testing connector {connector.fullname}, CRTC {crtc.id}, '
- f'mode {mode.name} with {len(planes)} planes')
+ f'mode {mode.name} with {len(planes)} planes '
+ f'(P: {crtc.primary_plane.id}, O: {[plane.id for plane in planes]})')
# Create a frame buffer
fb = pykms.DumbFramebuffer(self.card, mode.hdisplay, mode.vdisplay, 'XR24')