aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_device.c
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-09-07 22:12:50 +0200
committerBas Nieuwenhuizen <[email protected]>2017-09-09 11:50:30 +0200
commite3c942515884fa3c081b29ddf864f8756baaf2d2 (patch)
tree0ac4476b521f98ef3d83deb93956ca78b5e42672 /src/amd/vulkan/radv_device.c
parent57a341b0a94d37e2aee5380703d171c422d8550e (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_device.c')
-rw-r--r--src/amd/vulkan/radv_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index d220eb596d6..a68278ff439 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -411,6 +411,7 @@ static const struct debug_control radv_debug_options[] = {
{"allbos", RADV_DEBUG_ALL_BOS},
{"noibs", RADV_DEBUG_NO_IBS},
{"spirv", RADV_DEBUG_DUMP_SPIRV},
+ {"vmfaults", RADV_DEBUG_VM_FAULTS},
{NULL, 0}
};