drm/msm/gpu: Also snapshot GMU HFI buffer
authorRob Clark <robdclark@chromium.org>
Wed, 24 Nov 2021 21:41:33 +0000 (13:41 -0800)
committerRob Clark <robdclark@chromium.org>
Tue, 30 Nov 2021 00:19:58 +0000 (16:19 -0800)
commit1691e005962e15fc7ef232fda60de8a76860f422
tree27cb40716b63e79c988bcd973bf8838f00963cb6
parent203dcd5e9d8728a75a33ad72325aaeb1d58b0082
drm/msm/gpu: Also snapshot GMU HFI buffer

This also includes a history of start index of the last 8 messages on
each queue, since parsing backwards to decode recently sent HFI messages
is hard(ish).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20211124214151.1427022-9-robdclark@gmail.com
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
drivers/gpu/drm/msm/adreno/a6xx_hfi.c
drivers/gpu/drm/msm/adreno/a6xx_hfi.h