Lines Matching refs:p

1125 		struct drm_printer *p)  in a6xx_show_registers()  argument
1141 drm_printf(p, " - { offset: 0x%06x, value: 0x%08x }\n", in a6xx_show_registers()
1147 static void print_ascii85(struct drm_printer *p, size_t len, u32 *data) in print_ascii85() argument
1160 drm_puts(p, " data: !!ascii85 |\n"); in print_ascii85()
1161 drm_puts(p, " "); in print_ascii85()
1167 drm_puts(p, ascii85_encode(data[i], out)); in print_ascii85()
1169 drm_puts(p, "\n"); in print_ascii85()
1172 static void print_name(struct drm_printer *p, const char *fmt, const char *name) in print_name() argument
1174 drm_puts(p, fmt); in print_name()
1175 drm_puts(p, name); in print_name()
1176 drm_puts(p, "\n"); in print_name()
1180 struct drm_printer *p) in a6xx_show_shader() argument
1188 print_name(p, " - type: ", block->name); in a6xx_show_shader()
1191 drm_printf(p, " - bank: %d\n", i); in a6xx_show_shader()
1192 drm_printf(p, " size: %d\n", block->size); in a6xx_show_shader()
1197 print_ascii85(p, block->size << 2, in a6xx_show_shader()
1203 struct drm_printer *p) in a6xx_show_cluster_data() argument
1210 drm_printf(p, " - context: %d\n", ctx); in a6xx_show_cluster_data()
1221 drm_printf(p, " - { offset: 0x%06x, value: 0x%08x }\n", in a6xx_show_cluster_data()
1229 struct drm_printer *p) in a6xx_show_dbgahb_cluster() argument
1234 print_name(p, " - cluster-name: ", dbgahb->name); in a6xx_show_dbgahb_cluster()
1236 obj->data, p); in a6xx_show_dbgahb_cluster()
1241 struct drm_printer *p) in a6xx_show_cluster() argument
1246 print_name(p, " - cluster-name: ", cluster->name); in a6xx_show_cluster()
1248 obj->data, p); in a6xx_show_cluster()
1253 struct drm_printer *p) in a6xx_show_indexed_regs() argument
1260 print_name(p, " - regs-name: ", indexed->name); in a6xx_show_indexed_regs()
1261 drm_printf(p, " dwords: %d\n", indexed->count); in a6xx_show_indexed_regs()
1263 print_ascii85(p, indexed->count << 2, obj->data); in a6xx_show_indexed_regs()
1267 u32 *data, struct drm_printer *p) in a6xx_show_debugbus_block() argument
1270 print_name(p, " - debugbus-block: ", block->name); in a6xx_show_debugbus_block()
1276 drm_printf(p, " count: %d\n", block->count << 1); in a6xx_show_debugbus_block()
1278 print_ascii85(p, block->count << 3, data); in a6xx_show_debugbus_block()
1283 struct drm_printer *p) in a6xx_show_debugbus() argument
1290 a6xx_show_debugbus_block(obj->handle, obj->data, p); in a6xx_show_debugbus()
1296 drm_puts(p, " - debugbus-block: A6XX_DBGBUS_VBIF\n"); in a6xx_show_debugbus()
1297 drm_printf(p, " count: %d\n", VBIF_DEBUGBUS_BLOCK_SIZE); in a6xx_show_debugbus()
1300 print_ascii85(p, VBIF_DEBUGBUS_BLOCK_SIZE << 2, obj->data); in a6xx_show_debugbus()
1306 a6xx_show_debugbus_block(obj->handle, obj->data, p); in a6xx_show_debugbus()
1311 struct drm_printer *p) in a6xx_show() argument
1320 drm_printf(p, "gpu-initialized: %d\n", a6xx_state->gpu_initialized); in a6xx_show()
1322 adreno_show(gpu, state, p); in a6xx_show()
1324 drm_puts(p, "gmu-log:\n"); in a6xx_show()
1328 drm_printf(p, " iova: 0x%016llx\n", gmu_log->iova); in a6xx_show()
1329 drm_printf(p, " size: %zu\n", gmu_log->size); in a6xx_show()
1330 adreno_show_object(p, &gmu_log->data, gmu_log->size, in a6xx_show()
1334 drm_puts(p, "gmu-hfi:\n"); in a6xx_show()
1339 drm_printf(p, " iova: 0x%016llx\n", gmu_hfi->iova); in a6xx_show()
1340 drm_printf(p, " size: %zu\n", gmu_hfi->size); in a6xx_show()
1342 drm_printf(p, " queue-history[%u]:", i); in a6xx_show()
1344 drm_printf(p, " %d", a6xx_state->hfi_queue_history[i][j]); in a6xx_show()
1346 drm_printf(p, "\n"); in a6xx_show()
1348 adreno_show_object(p, &gmu_hfi->data, gmu_hfi->size, in a6xx_show()
1352 drm_puts(p, "gmu-debug:\n"); in a6xx_show()
1356 drm_printf(p, " iova: 0x%016llx\n", gmu_debug->iova); in a6xx_show()
1357 drm_printf(p, " size: %zu\n", gmu_debug->size); in a6xx_show()
1358 adreno_show_object(p, &gmu_debug->data, gmu_debug->size, in a6xx_show()
1362 drm_puts(p, "registers:\n"); in a6xx_show()
1370 a6xx_show_registers(regs->registers, obj->data, regs->count, p); in a6xx_show()
1373 drm_puts(p, "registers-gmu:\n"); in a6xx_show()
1381 a6xx_show_registers(regs->registers, obj->data, regs->count, p); in a6xx_show()
1384 drm_puts(p, "indexed-registers:\n"); in a6xx_show()
1386 a6xx_show_indexed_regs(&a6xx_state->indexed_regs[i], p); in a6xx_show()
1388 drm_puts(p, "shader-blocks:\n"); in a6xx_show()
1390 a6xx_show_shader(&a6xx_state->shaders[i], p); in a6xx_show()
1392 drm_puts(p, "clusters:\n"); in a6xx_show()
1394 a6xx_show_cluster(&a6xx_state->clusters[i], p); in a6xx_show()
1397 a6xx_show_dbgahb_cluster(&a6xx_state->dbgahb_clusters[i], p); in a6xx_show()
1399 drm_puts(p, "debugbus:\n"); in a6xx_show()
1400 a6xx_show_debugbus(a6xx_state, p); in a6xx_show()