radv: Actually check for vm faults.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 7 Sep 2017 20:12:50 +0000 (22:12 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 9 Sep 2017 09:50:30 +0000 (11:50 +0200)
commite3c942515884fa3c081b29ddf864f8756baaf2d2
tree0ac4476b521f98ef3d83deb93956ca78b5e42672
parent57a341b0a94d37e2aee5380703d171c422d8550e
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 <airlied@redhat.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_debug.c
src/amd/vulkan/radv_debug.h
src/amd/vulkan/radv_device.c