diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-09-07 22:12:50 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-09-09 11:50:30 +0200 |
commit | e3c942515884fa3c081b29ddf864f8756baaf2d2 (patch) | |
tree | 0ac4476b521f98ef3d83deb93956ca78b5e42672 /src/amd/vulkan/radv_debug.h | |
parent | 57a341b0a94d37e2aee5380703d171c422d8550e (diff) |
radv: Actually check for vm faults.
The code can check for vm faults having happened. If we only do it
on a hang we don't know when the faults happened. This changes the
behavior to when the first VM faults is found, even without a hang.
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.h')
-rw-r--r-- | src/amd/vulkan/radv_debug.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.h b/src/amd/vulkan/radv_debug.h index 240ce162047..18ef7e7e0a8 100644 --- a/src/amd/vulkan/radv_debug.h +++ b/src/amd/vulkan/radv_debug.h @@ -38,6 +38,7 @@ enum { RADV_DEBUG_ALL_BOS = 0x100, RADV_DEBUG_NO_IBS = 0x200, RADV_DEBUG_DUMP_SPIRV = 0x400, + RADV_DEBUG_VM_FAULTS = 0x800, }; enum { |