drm/i915: Include timeline seqno in error capture
authorJohn Harrison <John.C.Harrison@Intel.com>
Sat, 11 Mar 2023 06:37:14 +0000 (22:37 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Tue, 14 Mar 2023 01:27:10 +0000 (18:27 -0700)
commitc8a76df60d5c4e38ed94fc46a05f7be2631a9839
tree311f4f7d9993b2b7a7a60e9ca5e446f97d1b9145
parent53c4e64c6a0fdadc972217343f4439a96542f56e
drm/i915: Include timeline seqno in error capture

The seqno value actually written out to memory is no longer in the
regular HWSP. Instead, it is now in its own private timeline buffer.
Thus, it is no longer visible in an error capture. So, explicitly read
the value and include that in the capture.

v2: %d -> %u (Alan)

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230311063714.570389-4-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/i915_gpu_error.c
drivers/gpu/drm/i915/i915_gpu_error.h