Re: [Mesa-dev] [PATCH v2] radv: properly align the fence and EOP bug VA on GFX9

2019-03-05 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Mon, Mar 4, 2019 at 2:22 PM Samuel Pitoiset wrote: > > 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. > > v2: - add an asertion that checks if alignment is

[Mesa-dev] [PATCH v2] radv: properly align the fence and EOP bug VA on GFX9

2019-03-04 Thread Samuel Pitoiset
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. v2: - add an asertion that checks if alignment is power of two Cc: 18.3 19.0 Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_cmd_buffer.c