anv: Don't presume to know what address is in a surface relocation
Because our relocation processing happens at EndCommandBuffer time and because RENDER_SURFACE_STATE objects may be shared by batches, we really have no clue whatsoever what address is actually written to the relocation offset in the BO. We need to stop making such claims to the kernel and just let it relocate for us. Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Cc: "13.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
@@ -1176,8 +1176,6 @@ struct anv_cmd_buffer {
|
||||
|
||||
/* Allocated length of the 'objects' and 'bos' arrays */
|
||||
uint32_t array_length;
|
||||
|
||||
bool need_reloc;
|
||||
} execbuf2;
|
||||
|
||||
/* Serial for tracking buffer completion */
|
||||
|
Reference in New Issue
Block a user