From 2c679688f5077ac0ba61ab534ebcbb133248e605 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Thu, 9 Jun 2022 23:23:40 +0300 Subject: tests: allplanes: Log the plane IDs Plane IDs are useful for debugging, log them. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham --- tests/kms-test-allplanes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3