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

In multi-gpu environments it is important to know the device
bo/vm 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 cleanups(Gustavo)

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-4-radhakrishna.sripada@intel.com
drivers/gpu/drm/xe/xe_trace_bo.h