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 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev