anv: don't fail userspace relocation with perf queries
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 12 Aug 2020 13:00:34 +0000 (15:00 +0200)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Sat, 15 Aug 2020 11:31:25 +0000 (13:31 +0200)
commit031f9e17d2c387a64770246c2e5801a233a8ea3c
treeee78fe2304c25bcc3a6d03333cce35c0db6e2053
parentdc667b1f192d33d073832a50b0e920734f9fb8ef
anv: don't fail userspace relocation with perf queries

This is a left over from the earlier version of
VK_KHR_performance_query where we used kernel relocs to implement
multi passe queries.

We're using self modifying batches now so we shouldn't need any
relocation.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 2001a80d4a81f2 ("anv: Implement VK_KHR_performance_query")
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6291>
src/intel/vulkan/anv_batch_chain.c