radv: only emit ZPASS_DONE for timestamp queries on gfx queues
authorAndres Rodriguez <andresx7@gmail.com>
Tue, 25 Sep 2018 06:30:34 +0000 (02:30 -0400)
committerAndres Rodriguez <andresx7@gmail.com>
Tue, 25 Sep 2018 06:30:34 +0000 (02:30 -0400)
commitec1fcf92ae7e445d74e69f6973041fd12112b1fa
tree41a27ecb6e70e942a860a82237066c8e63c257c6
parent72e4287e8f6df5863562623428a7281f40fdd2fd
radv: only emit ZPASS_DONE for timestamp queries on gfx queues

A ZPASS_DONE packet doesn't make sense for the compute queue. It will
result in a gpu hang.

This change resolves a gpu hang for SteamVR+Vega.

Cc: mesa-stable@lists.freedesktop.org
Fixes: 1f616a840eac02241c585d28e9dac8f19a297f39 "radv: emit a dummy ..."
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/si_cmd_buffer.c