[Mesa-dev] [PATCH 0/8] RadeonSI: New tool for VM fault debugging
Marek Olšák
maraeo at gmail.com
Sun Sep 27 15:53:26 PDT 2015
Hi,
This adds 2 things:
1) R600_DEBUG=check_vm - which checks dmesg for VM faults for each submitted IB and if a VM fault appears, it writes a debug report to a file with the failing address.
2) Writes a buffer list for that IB into the report file along with a description how each buffer was used.
This is the resulting file converted into html. The buffers are sorted according to their VM address. It's not a real VM fault, just an artifically triggered report using an old VM fault that had already been in dmesg:
- http://people.freedesktop.org/~mareko/check_vm.html
Please review.
Future work / desirable features:
- track VM faults for each context in the kernel and add a proper kernel ioctl for querying VM faults for a specific context
- add holes between buffers in the VM for a better chance of getting VM faults
Marek
More information about the mesa-dev
mailing list