lima: add reload command to the command dump
authorErico Nunes <nunes.erico@gmail.com>
Thu, 13 May 2021 19:02:44 +0000 (21:02 +0200)
committerErico Nunes <nunes.erico@gmail.com>
Wed, 19 May 2021 16:15:49 +0000 (18:15 +0200)
This was not being included in the command stream and may be
useful to debug further issues.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10791>

src/gallium/drivers/lima/lima_job.c

index 0d01d9a..9503075 100644 (file)
@@ -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