Commit b636a6d2 authored by Connor Abbott's avatar Connor Abbott Committed by Rob Clark
Browse files

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: default avatarConnor Abbott <cwabbott0@gmail.com>
Patchwork: https://patchwork.freedesktop.org/patch/592520


Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
parent 0eb61e20
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ static void a7xx_get_debugbus_blocks(struct msm_gpu *gpu,

		for (i = 0; i < ARRAY_SIZE(a7xx_gbif_debugbus_blocks); i++) {
			a6xx_get_debugbus_block(gpu,
				a6xx_state, &a7xx_gbif_debugbus_blocks[i],
				a6xx_state, &a7xx_debugbus_blocks[a7xx_gbif_debugbus_blocks[i]],
				&a6xx_state->debugbus[i + debugbus_blocks_count]);
		}
	}
+3 −3
Original line number Diff line number Diff line
@@ -517,9 +517,9 @@ static const struct a6xx_debugbus_block a650_debugbus_blocks[] = {
	DEBUGBUS(A6XX_DBGBUS_SPTP_5, 0x100),
};

static const struct a6xx_debugbus_block a7xx_gbif_debugbus_blocks[] = {
	DEBUGBUS(A7XX_DBGBUS_GBIF_CX, 0x100),
	DEBUGBUS(A7XX_DBGBUS_GBIF_GX, 0x100),
static const u32 a7xx_gbif_debugbus_blocks[] = {
	A7XX_DBGBUS_GBIF_CX,
	A7XX_DBGBUS_GBIF_GX,
};

static const struct a6xx_debugbus_block a7xx_cx_debugbus_blocks[] = {