diff options
author | Samuel Pitoiset <[email protected]> | 2017-08-31 11:44:00 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2017-09-01 09:46:36 +0200 |
commit | 80177306d97beaafd8c5d45e6f5e633f9d8f035f (patch) | |
tree | bb1b41c7a976a75ab01ec7820ef55ef51a0e5f9e /src/amd/vulkan/radv_private.h | |
parent | 12cbd9a13f97f67b62657728bc244b96de7f7b83 (diff) |
radv: report VM faults if detected
It's fairly simple for now, but this might be quite useful.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index 73f7bdbe8a0..28e70e69150 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -555,6 +555,9 @@ struct radv_device { uint32_t fmask_mrt_offset_counter; struct list_head shader_slabs; mtx_t shader_slab_mutex; + + /* For detecting VM faults reported by dmesg. */ + uint64_t dmesg_timestamp; }; struct radv_device_memory { |