Commit 4a00bf1f authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm: Add missing "location"s to devcoredump



This is needed to properly interpret some of the sections.

v2: Fix missing \n

Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/666651/
parent d02d50cb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1796,6 +1796,7 @@ static void a7xx_show_shader(struct a6xx_gpu_state_obj *obj,

	print_name(p, "  - type: ", a7xx_statetype_names[block->statetype]);
	print_name(p, "    - pipe: ", a7xx_pipe_names[block->pipeid]);
	drm_printf(p, "    - location: %d\n", block->location);

	for (i = 0; i < block->num_sps; i++) {
		drm_printf(p, "      - sp: %d\n", i);
@@ -1873,6 +1874,7 @@ static void a7xx_show_dbgahb_cluster(struct a6xx_gpu_state_obj *obj,
		print_name(p, "  - pipe: ", a7xx_pipe_names[dbgahb->pipe_id]);
		print_name(p, "    - cluster-name: ", a7xx_cluster_names[dbgahb->cluster_id]);
		drm_printf(p, "      - context: %d\n", dbgahb->context_id);
		drm_printf(p, "      - location: %d\n", dbgahb->location_id);
		a7xx_show_registers_indented(dbgahb->regs, obj->data, p, 4);
	}
}