mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 19:10:21 +01:00
fd/replay: Clear wrbufs after submitting cmdstreams for DRM
Retaining them across submissions was a bug, the wrbuf should only be dumped for the submission it originates from. Signed-off-by: Mark Collins <mark@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28253>
This commit is contained in:
parent
011cacd982
commit
0fad4e547b
1 changed files with 2 additions and 0 deletions
|
|
@ -611,6 +611,8 @@ device_submit_cmdstreams(struct device *dev)
|
|||
device_print_cp_log(dev);
|
||||
|
||||
device_dump_wrbuf(dev);
|
||||
u_vector_finish(&dev->wrbufs);
|
||||
u_vector_init(&dev->wrbufs, 8, sizeof(struct wrbuf));
|
||||
|
||||
device_free_buffers(dev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue