Module: Mesa
Branch: main
Commit: 7327b2b7b438ce097e956554743bb0c5c8f21954
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=7327b2b7b438ce097e956554743bb0c5c8f21954

Author: Erico Nunes <[email protected]>
Date:   Thu May 13 21:02:44 2021 +0200

lima: add reload command to the command dump

This was not being included in the command stream and may be
useful to debug further issues.

Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10791>

---

 src/gallium/drivers/lima/lima_job.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gallium/drivers/lima/lima_job.c 
b/src/gallium/drivers/lima/lima_job.c
index 0d01d9abb05..9503075931a 100644
--- a/src/gallium/drivers/lima/lima_job.c
+++ b/src/gallium/drivers/lima/lima_job.c
@@ -440,6 +440,9 @@ lima_pack_reload_plbu_cmd(struct lima_job *job, struct 
pipe_surface *psurf)
    PLBU_CMD_DRAW_ELEMENTS(0xf, 0, 3);
 
    PLBU_CMD_END();
+
+   lima_dump_command_stream_print(job->dump, cpu, lima_reload_buffer_size,
+                                  false, "reload plbu cmd at va %x\n", va);
 }
 
 static void

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to