mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
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:2001a80d4a("anv: Implement VK_KHR_performance_query") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6291> (cherry picked from commit031f9e17d2)
This commit is contained in:
parent
cb55aca266
commit
9aa25a340c
2 changed files with 1 additions and 4 deletions
|
|
@ -1246,7 +1246,7 @@
|
|||
"description": "anv: don't fail userspace relocation with perf queries",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "2001a80d4a81f2e8194b29cca301dd1b27be9acb"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1377,9 +1377,6 @@ static bool
|
|||
relocate_cmd_buffer(struct anv_cmd_buffer *cmd_buffer,
|
||||
struct anv_execbuf *exec)
|
||||
{
|
||||
if (cmd_buffer->perf_query_pool)
|
||||
return false;
|
||||
|
||||
if (!exec->has_relocs)
|
||||
return true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue