Skip to content

Commit f2a742e

Browse files
akhilpo-qcomRob Clark
authored andcommitted
drm/msm/a6xx: Skip dumping SCRATCH registers
Crashdec doesn't require SCRATCH registers anymore for a6xx and newer architectures. So skip dumping them during recovery. Suggested-by: Rob Clark <rob.clark@oss.qualcomm.com> Signed-off-by: Akhil P Oommen <akhilpo@oss.qualcomm.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Patchwork: https://patchwork.freedesktop.org/patch/689000/ Message-ID: <20251118-kaana-gpu-support-v4-4-86eeb8e93fb6@oss.qualcomm.com> Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
1 parent ff7a6de commit f2a742e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/gpu/drm/msm/adreno/a6xx_gpu.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,18 +1561,14 @@ static void a6xx_recover(struct msm_gpu *gpu)
15611561
struct adreno_gpu *adreno_gpu = to_adreno_gpu(gpu);
15621562
struct a6xx_gpu *a6xx_gpu = to_a6xx_gpu(adreno_gpu);
15631563
struct a6xx_gmu *gmu = &a6xx_gpu->gmu;
1564-
int i, active_submits;
1564+
int active_submits;
15651565

15661566
adreno_dump_info(gpu);
15671567

15681568
if (a6xx_gmu_gx_is_on(&a6xx_gpu->gmu)) {
15691569
/* Sometimes crashstate capture is skipped, so SQE should be halted here again */
15701570
gpu_write(gpu, REG_A6XX_CP_SQE_CNTL, 3);
15711571

1572-
for (i = 0; i < 8; i++)
1573-
DRM_DEV_INFO(&gpu->pdev->dev, "CP_SCRATCH_REG%d: %u\n", i,
1574-
gpu_read(gpu, REG_A6XX_CP_SCRATCH_REG(i)));
1575-
15761572
if (hang_debug)
15771573
a6xx_dump(gpu);
15781574

0 commit comments

Comments
 (0)