Re: [Mesa-dev] [PATCH] radv: compute optimal VM alignment for imported buffers

2018-12-20 Thread Samuel Pitoiset
On 12/20/18 3:30 PM, Bas Nieuwenhuizen wrote: Happy to have this patch, but all descriptions and comments say this is an optimization Can we get some comment that this avoids hangs? Pushed with a comment. Thanks! Otherwise Reviewed-by: Bas Nieuwenhuizen On Thu, Dec 20, 2018 at 3:2

Re: [Mesa-dev] [PATCH] radv: compute optimal VM alignment for imported buffers

2018-12-20 Thread Bas Nieuwenhuizen
Happy to have this patch, but all descriptions and comments say this is an optimization Can we get some comment that this avoids hangs? Otherwise Reviewed-by: Bas Nieuwenhuizen On Thu, Dec 20, 2018 at 3:23 PM Samuel Pitoiset wrote: > > This fixes GPU hangs on GFX9 with > dEQP-VK.memory.e

[Mesa-dev] [PATCH] radv: compute optimal VM alignment for imported buffers

2018-12-20 Thread Samuel Pitoiset
This fixes GPU hangs on GFX9 with dEQP-VK.memory.external_memory_host.bind_image_memory_and_render.with_zero_offset.* Copied from RadeonSI. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c | 28 ++- 1 file changed, 27 insertions(+), 1 deletion(-)