radv: fix resetting the pool for timestamp queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Oct 2018 08:37:09 +0000 (10:37 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 4 Oct 2018 08:56:25 +0000 (10:56 +0200)
commit2b34985d93e7914ead00227aa2842846df3c487f
tree0522fb7fe88974969d295c8d9173d2c9e882e9a4
parentb2a876a42bd0d55ad6705f8aff773da16806a2e6
radv: fix resetting the pool for timestamp queries

Since the driver no longer uses the availability bit for
timestamp queries it shouldn't reset it. Instead, it should
reset the query values to UINT32_MAX. This fixes VM faults.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108164
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Tested-by: Józef Kucia <joseph.kucia@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_query.c