drm/i915/gt: add missing new-line to GT_TRACE
authorAndrzej Hajda <andrzej.hajda@intel.com>
Wed, 15 Nov 2023 12:10:33 +0000 (13:10 +0100)
committerAndrzej Hajda <andrzej.hajda@intel.com>
Thu, 16 Nov 2023 12:30:30 +0000 (13:30 +0100)
Trace requires new-line at the end of message (in opposition to printk),
otherwise trace dump becomes messy.

Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Acked-by: Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>
Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231115-eols-v1-1-d47a2f52b807@intel.com
drivers/gpu/drm/i915/gt/intel_gt_pm.c

index f5899d503e234b30e884a0b30b710e7483de6e44..471b7cdc10ba0f805a041cf9b3f02b41dfab4461 100644 (file)
@@ -167,7 +167,7 @@ static void gt_sanitize(struct intel_gt *gt, bool force)
        enum intel_engine_id id;
        intel_wakeref_t wakeref;
 
-       GT_TRACE(gt, "force:%s", str_yes_no(force));
+       GT_TRACE(gt, "force:%s\n", str_yes_no(force));
 
        /* Use a raw wakeref to avoid calling intel_display_power_get early */
        wakeref = intel_runtime_pm_get(gt->uncore->rpm);