From 34a54192e1fb25041d032d92da59d143afa67464 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Wed, 19 Jul 2017 16:46:08 +0300 Subject: lib/igt_debugfs: Add extended helper to format crc to string This introduces a igt_crc_to_string_extended helper that allows formatting a crc to a string with a given delimiter and size to print per crc word. Signed-off-by: Paul Kocialkowski Reviewed-by: Lyude --- lib/igt_debugfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/igt_debugfs.h') diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index fe355919..f1a76406 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -115,6 +115,7 @@ enum intel_pipe_crc_source { void igt_assert_crc_equal(const igt_crc_t *a, const igt_crc_t *b); bool igt_check_crc_equal(const igt_crc_t *a, const igt_crc_t *b); +char *igt_crc_to_string_extended(igt_crc_t *crc, char delimiter, int crc_size); char *igt_crc_to_string(igt_crc_t *crc); void igt_require_pipe_crc(int fd); -- cgit v1.2.3