]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/guc: Refine CT queue checks and log formatting
authorShuicheng Lin <shuicheng.lin@intel.com>
Mon, 23 Feb 2026 16:23:53 +0000 (16:23 +0000)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 25 Feb 2026 17:25:05 +0000 (09:25 -0800)
commit9c1ea3962e0a24db88fd0fa3663f88416a2dacbc
tree4ed3206d9920dbdea9279f5395a122d8ff315b36
parent8313c938dc1a070256f07b1dbfc06cab8bd58311
drm/xe/guc: Refine CT queue checks and log formatting

Fix three code-level cleanups in xe_guc_ct.c:

- Use SZ_4K for the queue size alignment assertion in
  xe_guc_ct_queue_proc_time_jiffies().
- Drop an unused local variable in guc_ct_send_wait_for_retry().
- Add missing trailing newlines in CT error/warn log messages.

These changes keep behavior unchanged while improving correctness checks
and log formatting.

Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260223162350.3205364-6-shuicheng.lin@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c