Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/a6xx: Fix a6xx indexed-regs in devcoreduump

Somehow, possibly as a result of rebase gone badly, setting
nr_indexed_regs for pre-a650 a6xx devices lost the setting of
nr_indexed_regs, resulting in values getting snapshot, but omitted
from the devcoredump.

Fixes: e997ae5f45ca ("drm/msm/a6xx: Mostly implement A7xx gpu_state")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/640289/

+2
+2
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
··· 1514 1514 1515 1515 /* Restore the size in the hardware */ 1516 1516 gpu_write(gpu, REG_A6XX_CP_MEM_POOL_SIZE, mempool_size); 1517 + 1518 + a6xx_state->nr_indexed_regs = count; 1517 1519 } 1518 1520 1519 1521 static void a7xx_get_indexed_registers(struct msm_gpu *gpu,