]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe/trace: Print device_id in xe_trace_guc events
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 7 Jun 2024 18:29:41 +0000 (11:29 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 12 Jun 2024 16:25:12 +0000 (09:25 -0700)
commit3cba2f1d3f18939362e082ea8b9bd8abfa735b84
tree7bbf23b1aa8547359905515adca623684b1159a0
parent3432f26efa45bed7bc61f534ca9d2c0afdaf5632
drm/xe/trace: Print device_id in xe_trace_guc events

In multi-gpu environments it is important to know the device
guc txn belongs to. The tracing information includes the device_id
to indicate the device the event is associated with.

v2: Use variable sized variant to display dev name(Gustavo)
v3: Pass single argument to __assign_str to fix kunit error
v4: Minor formatting tweaks

Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240607182943.3572524-5-radhakrishna.sripada@intel.com
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_trace_guc.h