diff options
author | Kevin Rogovin <[email protected]> | 2018-02-08 17:11:25 -0800 |
---|---|---|
committer | Scott D Phillips <[email protected]> | 2018-04-05 13:52:49 -0700 |
commit | cc41603d6da4552f0aaf32325a8f019c44c3d9c8 (patch) | |
tree | 1fa68288a418b69a1f299752d307d897135691a0 /src/mesa/main | |
parent | e85b95269e49036402c3a8204450707eb6111d15 (diff) |
intel/tools: new intel_sanitize_gpu tool
Adds a new debug tool to pad each GEM BO allocated with (weak)
pseudo-random noise values which are then checked after each
batchbuffer dispatch to the kernel. This can be quite valuable to
find diffucult to track down heisenberg style bugs.
[[email protected]: split to separate tool]
v2: (by Scott D Phillips)
- track gem handles per fd (Kevin)
- remove handles on GEM_CLOSE (Kevin)
- ignore prime handles
- meson & shell script
v3: (by Scott D Phillips)
- don't track prime bos at all (Kevin)
- protect the hash table with a mutex (Kevin)
- hook fds by drm_version.name, not path (Chris Wilson)
Reviewed-by: Scott D Phillips <[email protected]>
Reviewed-by: Kevin Rogovin <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions