]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/guc: Use the steering flag when printing registers
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 17 Apr 2025 19:52:13 +0000 (12:52 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 22 Apr 2025 17:24:45 +0000 (10:24 -0700)
commit8393f3e155d902bd66c3033b073ec10d1409b2ee
tree72dd3c5e2361eb52c8d47ad73f4f7515cf435fa6
parent532da44b54a10d50ebad14a8a02bd0b78ec23e8b
drm/xe/guc: Use the steering flag when printing registers

The printing code was doing a test on which list a register was in to
decide whether it is steered or not. That might be valid at this
moment but there may be other reasons for extended lists in the
future. Plus, there is a flag specifically for identifying steered
registers. So, just use that instead - it is simpler and safer.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://lore.kernel.org/r/20250417195215.3002210-3-John.C.Harrison@Intel.com
drivers/gpu/drm/xe/xe_guc_capture.c