drm/xe: Move lrc snapshot capturing to xe_lrc.c
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 27 Feb 2024 13:12:45 +0000 (14:12 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 4 Mar 2024 11:23:12 +0000 (12:23 +0100)
commit47058633d9c58d7da274a1de5e3588c17c7d7f56
treeb92111db6cc5a20a58771f14d2c41d2bdd36419c
parent5224ed586ba7f9bba956655a1bfe5b75df7394d4
drm/xe: Move lrc snapshot capturing to xe_lrc.c

This allows the dumping of HWSP and HW Context without exporting more
functions.

Changes since v1:
- GFP_KERNEL -> GFP_NOWAIT. (Souza)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240227131248.92910-1-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/xe/xe_guc_submit.c
drivers/gpu/drm/xe/xe_guc_submit_types.h
drivers/gpu/drm/xe/xe_lrc.c
drivers/gpu/drm/xe/xe_lrc.h
drivers/gpu/drm/xe/xe_lrc_types.h