Skip to content

Commit b636a6d

Browse files
cwabbott0robclark
authored andcommitted
drm/msm: Adjust a7xx GBIF debugbus dumping
Use the kgsl-style list of indices, because this is about to change for a750 and we want to reuse the downstream header directly. Patchwork: https://patchwork.freedesktop.org/patch/592520/ Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Patchwork: https://patchwork.freedesktop.org/patch/592520 Signed-off-by: Rob Clark <robdclark@chromium.org>
1 parent 0eb61e2 commit b636a6d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ static void a7xx_get_debugbus_blocks(struct msm_gpu *gpu,
412412

413413
for (i = 0; i < ARRAY_SIZE(a7xx_gbif_debugbus_blocks); i++) {
414414
a6xx_get_debugbus_block(gpu,
415-
a6xx_state, &a7xx_gbif_debugbus_blocks[i],
415+
a6xx_state, &a7xx_debugbus_blocks[a7xx_gbif_debugbus_blocks[i]],
416416
&a6xx_state->debugbus[i + debugbus_blocks_count]);
417417
}
418418
}

drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,9 @@ static const struct a6xx_debugbus_block a650_debugbus_blocks[] = {
517517
DEBUGBUS(A6XX_DBGBUS_SPTP_5, 0x100),
518518
};
519519

520-
static const struct a6xx_debugbus_block a7xx_gbif_debugbus_blocks[] = {
521-
DEBUGBUS(A7XX_DBGBUS_GBIF_CX, 0x100),
522-
DEBUGBUS(A7XX_DBGBUS_GBIF_GX, 0x100),
520+
static const u32 a7xx_gbif_debugbus_blocks[] = {
521+
A7XX_DBGBUS_GBIF_CX,
522+
A7XX_DBGBUS_GBIF_GX,
523523
};
524524

525525
static const struct a6xx_debugbus_block a7xx_cx_debugbus_blocks[] = {

0 commit comments

Comments
 (0)