drm/xe: Implement capture of HWSP and HWCTX
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 27 Feb 2024 13:12:47 +0000 (14:12 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 4 Mar 2024 11:24:39 +0000 (12:24 +0100)
commit4d5242a003bb93c119e0346951a9938f60fecfb9
tree166ad1d1c5f2c371e135f17d0b4e4e5d88dfbca2
parent784b34100fc3c4a2c3c7f71009384bdb754f5517
drm/xe: Implement capture of HWSP and HWCTX

Dump the HWCTX and HWSP as part of LRC capture.

Changes since v1:
- Use same layout for HWSP and HWCTX as VM bo's, to simplify dumping.

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-3-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/xe/xe_lrc.c