radv: properly align the fence and EOP bug VA on GFX9
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Mar 2019 13:25:08 +0000 (14:25 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 5 Mar 2019 14:00:20 +0000 (15:00 +0100)
commitc2a148692b4d728e481b60a503e21931f9cf43f0
tree3042b009f3d96debdececacc8706eac2e215500d
parent2eb0905ffa133129a65d20e098f121302944a753
radv: properly align the fence and EOP bug VA on GFX9

If alignement is 0, offets returned by
radv_cmd_buffer_upload_alloc() are always 0. These two
virtual addresses were pointing at the same location.

Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c