drm/msm: Fix snapshotting a7xx indexed regs
authorConnor Abbott <cwabbott0@gmail.com>
Thu, 25 Jan 2024 13:10:56 +0000 (13:10 +0000)
committerRob Clark <robdclark@chromium.org>
Mon, 26 Feb 2024 15:29:55 +0000 (07:29 -0800)
commitd98c220f58ebb68f350b212994e6061e2845046b
tree4ee526dd99632804a0164e350fc789e68f47a755
parentfadbbfbf644e467f8775d4382c60aa4ae5401f4a
drm/msm: Fix snapshotting a7xx indexed regs

We were overwriting the last indexed reg (CP_ROQ) and we were
snapshotting the same CP_MEMPOOL block twice instead of snapshotting
CP_BV_MEMPOOL as intended.

Signed-off-by: Connor Abbott <cwabbott0@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/575920/
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c