Commit a814ba2d authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm: Fix debugbus snapshot



We weren't setting the # of captured debugbus blocks.

Reported-by: default avatarConnor Abbott <cwabbott0@gmail.com>
Suggested-by: default avatarConnor Abbott <cwabbott0@gmail.com>
Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/666660/
parent 13ed0a1a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -438,8 +438,9 @@ static void a7xx_get_debugbus_blocks(struct msm_gpu *gpu,
				a6xx_state, &a7xx_debugbus_blocks[gbif_debugbus_blocks[i]],
				&a6xx_state->debugbus[i + debugbus_blocks_count]);
		}
	}

		a6xx_state->nr_debugbus = total_debugbus_blocks;
	}
}

static void a6xx_get_debugbus(struct msm_gpu *gpu,