Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Matthew Auld <matthew.auld@intel.com>
Subject: [Intel-xe] [PATCH v2 3/4] drm/xe/bo: Remove leftover trace_printk()
Date: Thu, 23 Nov 2023 16:31:57 +0100	[thread overview]
Message-ID: <20231123153158.12779-4-thomas.hellstrom@linux.intel.com> (raw)
In-Reply-To: <20231123153158.12779-1-thomas.hellstrom@linux.intel.com>

trace_printk() is not intended for production code. Remove it.

Suggested-by: Ohad Sharabi <osharabi@habana.ai>
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/946
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
---
 drivers/gpu/drm/xe/xe_bo.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 58213835803d..c5aa01c0861c 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -785,7 +785,6 @@ static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict,
 	}
 
 	xe_device_mem_access_put(xe);
-	trace_printk("new_mem->mem_type=%d\n", new_mem->mem_type);
 
 out:
 	return ret;
-- 
2.41.0


  parent reply	other threads:[~2023-11-23 15:32 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-23 15:31 [Intel-xe] [PATCH v2 0/4] drm/xe: Assorted memory-management fixes Thomas Hellström
2023-11-23 15:31 ` [Intel-xe] [PATCH v2 1/4] drm/xe: Ensure that we don't access the placements array out-of-bounds Thomas Hellström
2023-11-23 15:34   ` Matthew Auld
2023-11-23 15:31 ` [Intel-xe] [PATCH v2 2/4] drm/xe/bo: Rename xe_bo_get_sg() to xe_bo_sg() Thomas Hellström
2023-11-23 15:31 ` Thomas Hellström [this message]
2023-11-23 15:31 ` [Intel-xe] [PATCH v2 4/4] drm/xe/vm: Fix ASID XA usage Thomas Hellström
2023-11-23 16:01   ` Matthew Auld
2023-11-24  9:04 ` [Intel-xe] ✓ CI.Patch_applied: success for drm/xe: Assorted memory-management fixes (rev2) Patchwork
2023-11-24  9:04 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-11-24  9:06 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-11-24  9:13 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-11-24  9:13 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-11-24  9:14 ` [Intel-xe] ✓ CI.checksparse: " Patchwork
2023-11-24  9:48 ` [Intel-xe] ✓ CI.BAT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231123153158.12779-4-thomas.hellstrom@linux.intel.com \
    --to=thomas.hellstrom@linux.intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=matthew.auld@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox