]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Add reg read/write trace
authorRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Fri, 7 Jun 2024 18:29:43 +0000 (11:29 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 12 Jun 2024 16:26:18 +0000 (09:26 -0700)
commite81568a0cbb288770f8d2e4b7d41752a9f367bd1
tree32b4270b316f1370e62d9b82fface31f4d22ba40
parent501c4255c40935280a10844cf7550bf1e4f8939b
drm/xe: Add reg read/write trace

This will help debug register read/writes and provides
a way to trace all the mmio transactions.

v2: Fix kunit error
v3: Print devid to help in multi-gpu setup
v3: rebase and use variable sized variant to display
    dev name(Gustavo)
v4: Pass single argument to __asign_str to fix kunit error
v5: Remove unrelated include xe_tile.h and remove cast in trace

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