Skip to content

Commit

Permalink
drm/i915/gt: add missing new-line to GT_TRACE
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Andrzej Hajda committed Nov 16, 2023
1 parent d7b4832 commit 57bdac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/gt/intel_gt_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 57bdac8

Please sign in to comment.