radv: do not use the availability bit for timestamp queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Sep 2018 18:26:58 +0000 (20:26 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 28 Sep 2018 07:08:03 +0000 (09:08 +0200)
commit5d6a560a2986c9ab421b3c7904d29bb7bc35e36f
tree41f66ff516dc5869af7224b0f1215b0d75df6cec
parent3e905052248a6e9c0e1ce6b7f32ad5aeff28a7c8
radv: do not use the availability bit for timestamp queries

It's unnecessary because we can just check if the timestamp
is to different to the default value when a pool is created
or resetted. Instead of waiting for the availability bit to
be 1, we have to emit a not equal WAIT_REG_MEM for checking
if the timestamp is ready.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/common/sid.h
src/amd/vulkan/radv_query.c