]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/guc: Remove duplicate source field
authorZhanjun Dong <zhanjun.dong@intel.com>
Thu, 7 Nov 2024 21:38:41 +0000 (13:38 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 14 Nov 2024 23:29:37 +0000 (15:29 -0800)
commit223217b800c2509c2f4c9c98e46c2090e44dd12b
tree4a3f4ff1ffe275ea35b3a860d55b80c45878be09
parentdbf670f13949249f09b872ae59aab2feb259ca5f
drm/xe/guc: Remove duplicate source field

xe_hw_engine_snapshot.source save the information of where data copied
from. Because the 'source' field is already populated inside
'matched_node' ptr hanging off xe_devcoredump_snapshot, which happenned
either in guc_capture_extract_reglists or xe_engine_manual_capture, we
can remove this redundant copy of 'source' from xe_hw_engine_snapshot.

Signed-off-by: Zhanjun Dong <zhanjun.dong@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Changes from prior revs:
 v2:- Update commit message

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241107213841.436384-1-zhanjun.dong@intel.com
drivers/gpu/drm/xe/xe_guc_capture.c
drivers/gpu/drm/xe/xe_hw_engine.c
drivers/gpu/drm/xe/xe_hw_engine_types.h