[Intel-gfx] [PATCH i-g-t 3/3] intel_display_poller: Fix truncation of a test name.

Eric Anholt eric at anholt.net
Sun Sep 3 04:38:53 UTC 2017


Signed-off-by: Eric Anholt <eric at anholt.net>
---
 tools/intel_display_poller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/intel_display_poller.c b/tools/intel_display_poller.c
index c501c79d6367..828ca52b35ee 100644
--- a/tools/intel_display_poller.c
+++ b/tools/intel_display_poller.c
@@ -901,7 +901,7 @@ static void poll_dsl_field(int pipe, uint32_t *min, uint32_t *max, const int cou
 
 static const char *test_name(enum test test, int pipe, int bit, bool test_pixel_count)
 {
-	static char str[32];
+	static char str[64];
 	const char *type = test_pixel_count ? "pixel" : "dsl";
 
 	switch (test) {
-- 
2.14.1



More information about the Intel-gfx mailing list