Skip to content

util: ralloc debug

Rob Clark requested to merge robclark/mesa:wip/ralloc-debug into main

Motivated by a multi-threaded gl bug that turned out to be incorrect locking protecting ralloc (cb034ae4), this MR adds some additional tracking to detect multi-threaded access to a ralloc tree. I've confirmed by reverting the mentioned fix, that it quickly detects the root problem.

Edited by Rob Clark

Merge request reports