mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 09:10:32 +01:00
vc4: Add the RCL to CL debug dumping when in simulator mode.
We can't dump it in the real driver, since the kernel doesn't give us a handle to it (except after a GPU hang, using a root ioctl). In the simulator we can.
This commit is contained in:
parent
dd27825c8c
commit
83e65ca831
1 changed files with 6 additions and 0 deletions
|
|
@ -177,6 +177,12 @@ vc4_simulator_flush(struct vc4_context *vc4, struct drm_vc4_submit_cl *args)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (vc4_debug & VC4_DEBUG_CL) {
|
||||
fprintf(stderr, "RCL:\n");
|
||||
vc4_dump_cl(screen->simulator_mem_base + exec.ct1ca,
|
||||
exec.ct1ea - exec.ct1ca, true);
|
||||
}
|
||||
|
||||
if (exec.ct0ca != exec.ct0ea) {
|
||||
int bfc = simpenrose_do_binning(exec.ct0ca, exec.ct0ea);
|
||||
if (bfc != 1) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue