[Intel-gfx] [PATCH] drm/i915/gt: add missing new-line to GT_TRACE

Nirmoy Das nirmoy.das at linux.intel.com
Wed Nov 15 16:28:57 UTC 2023


On 11/15/2023 1:10 PM, Andrzej Hajda wrote:
> 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 at intel.com>

Reviewed-by: Nirmoy Das <nirmoy.das at intel.com>

> ---
>   drivers/gpu/drm/i915/gt/intel_gt_pm.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_gt_pm.c b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> index f5899d503e234b..471b7cdc10ba0f 100644
> --- a/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> +++ b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
> @@ -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);
>
> ---
> base-commit: 1489bab52c281a869295414031a56506a375b036
> change-id: 20231115-eols-20f9f52cf338
>
> Best regards,


More information about the Intel-gfx mailing list