drm/xe: Print registers spread in 2 u32 as u64
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 23 Jan 2024 20:44:51 +0000 (12:44 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 24 Jan 2024 19:08:25 +0000 (11:08 -0800)
commit89e394f0db473922a180ca65ae9b9858760fc803
tree77fbd9ef944815e86c303433e4ff7ca734aa091e
parent4376cee62092ac79ecce1a4a99f1ffd61f50d47f
drm/xe: Print registers spread in 2 u32 as u64

This makes easier to use those registers when copying its values to
calculator also makes easier for tools to parse it.

To avoids padding holes in xe_hw_engine_snapshot the u64 variables
were moved to the top of xe_hw_engine_snapshot.reg.

Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Maarten Lankhorst <dev@lankhorst.se>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240123204454.246788-6-jose.souza@intel.com
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_hw_engine_types.h