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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user