Mesa (main): freedreno/computerator: Mark shader bo for dumping
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Dec 20 20:09:56 UTC 2021
Module: Mesa
Branch: main
Commit: 9766a5721d0b6712d3cf9cb54caa047f2d1b068e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9766a5721d0b6712d3cf9cb54caa047f2d1b068e
Author: Rob Clark <robdclark at chromium.org>
Date: Thu Dec 2 16:23:13 2021 -0800
freedreno/computerator: Mark shader bo for dumping
Signed-off-by: Rob Clark <robdclark at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14231>
---
src/freedreno/computerator/ir3_asm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/freedreno/computerator/ir3_asm.c b/src/freedreno/computerator/ir3_asm.c
index 1b4fdc10167..e0f3c9bc5db 100644
--- a/src/freedreno/computerator/ir3_asm.c
+++ b/src/freedreno/computerator/ir3_asm.c
@@ -53,6 +53,9 @@ ir3_asm_assemble(struct ir3_compiler *c, FILE *in)
memcpy(fd_bo_map(v->bo), kernel->bin, sz);
+ /* Always include shaders in kernel crash dumps. */
+ fd_bo_mark_for_dump(v->bo);
+
return kernel;
}
More information about the mesa-commit
mailing list