[PATCH i-g-t 02/10] tests/kms_colorop: use igt_crtc_name()

Jani Nikula
2026-03-09T14:22:04Z

Prefer using igt_crtc_name() instead of %d and crtc->pipe.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
tests/kms_colorop.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_colorop.c b/tests/kms_colorop.c
index d535be4e5287..e5a9cd594fbf 100644
--- a/tests/kms_colorop.c
+++ b/tests/kms_colorop.c
@@ -160,9 +160,9 @@ static igt_output_t *kms_writeback_get_output(igt_display_t *display, __u32 four
crtc);

if (check_writeback_config(display, output, override_mode, fourcc_in, fourcc_out)) {
- igt_debug("Using connector %u:%s on pipe %d\n",
+ igt_debug("Using connector %u:%s on pipe %s\n",
output->config.connector->connector_id,
- output->name, crtc->pipe);
+ output->name, igt_crtc_name(crtc));
return output;
}
}
--
2.47.3