diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2025-09-09 15:36:22 -0700 |
---|---|---|
committer | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2025-09-11 11:28:02 -0700 |
commit | ba391a102ec11ab7f5b249e46dcf61ef836a57e7 (patch) | |
tree | 4ed5d53526b09b0cba93eaa4b8944683fa0cf96e /rust/helpers/helpers.c | |
parent | f8d2c26df98b487d61e582c01804340b96c44e44 (diff) |
drm/i915/guc: Include the GuC registers in the error state
If GuC hangs, the GuC logs might not contain enough information to
understand exactly why the hang occurred. In this case, we need to
look at the GuC HW state to try to understand where the GuC is stuck. It
is therefore useful to include the GuC HW state in the error capture.
The list of registers that are part of the GuC HW state can change based
on platform, but it is the same for all platforms from TGL to MTL so we
only need to support one version for i915.
v2: revised list
v3: remove confusing comment, use sizeof(u32) instead of 4 (John)
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://lore.kernel.org/r/20250909223621.3782625-2-daniele.ceraolospurio@intel.com
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions