[Intel-gfx] [PATCH i-g-t] lib/i915: End warning message with a newline

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Wed May 22 16:06:58 UTC 2019


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Otherwise debug output looks messy when we trigger this.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Cc: Andi Shyti <andi.shyti at intel.com>
---
 lib/i915/gem_engine_topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/i915/gem_engine_topology.c b/lib/i915/gem_engine_topology.c
index 7ca3616687b9..d0c8bd5aaeac 100644
--- a/lib/i915/gem_engine_topology.c
+++ b/lib/i915/gem_engine_topology.c
@@ -123,7 +123,7 @@ static void init_engine(struct intel_execution_engine2 *e2,
 	if (__e2->name) {
 		e2->name = __e2->name;
 	} else {
-		igt_warn("found unknown engine (%d, %d)", class, instance);
+		igt_warn("found unknown engine (%d, %d)\n", class, instance);
 		e2->name = unknown_name;
 		e2->flags = -1;
 	}
-- 
2.20.1



More information about the Intel-gfx mailing list