Module: Mesa Branch: master Commit: cb6ce4a265ba64c172829a3d6d2e13a7d920133d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb6ce4a265ba64c172829a3d6d2e13a7d920133d
Author: Tapani Pälli <[email protected]> Date: Fri Oct 23 13:25:39 2020 +0300 iris: fix the order of src and dst for fence memcpy This fixes random failures with "deqp-egl --deqp-case=*multithread*": iris: Failed to submit batchbuffer: No such file or directory Fixes: 6b1a56b908e ("iris: Drop stale syncobj references in fence_server_sync") Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7289> --- src/gallium/drivers/iris/iris_fence.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/iris/iris_fence.c b/src/gallium/drivers/iris/iris_fence.c index d9bdf9bba7b..399a0678685 100644 --- a/src/gallium/drivers/iris/iris_fence.c +++ b/src/gallium/drivers/iris/iris_fence.c @@ -154,7 +154,7 @@ clear_stale_syncobjs(struct iris_batch *batch) if (syncobj != nth_syncobj) { *syncobj = *nth_syncobj; - memcpy(nth_fence, fence, sizeof(*fence)); + memcpy(fence, nth_fence, sizeof(*fence)); } } } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
