radv: improve reporting faulty pipelines when a GPU hang is detected
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 26 Aug 2020 15:34:28 +0000 (17:34 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 1 Sep 2020 06:27:48 +0000 (08:27 +0200)
commitaa675cdc91fe1d317650c279b3470c0081e85527
treeac2cdd55630e7c39aeb0bc5314c1b35235f01c25
parentdd1f035f6e74bab568782ec8753eaf234f25a104
radv: improve reporting faulty pipelines when a GPU hang is detected

Because the driver now waits for idle after every draw/dispatch
calls, we shouldn't report gfx pipelines when the GPU hang happens
after a dispatch (or the opposite).

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6471>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_debug.c