On 16.03.2016 08:05, Nicolai Hähnle wrote: > If I understand your patch correctly, the only effect is that a larger > HTILE buffer is allocated, right? I'm surprised that only hangs were > reported and not VM faults. We should really introduce guard pages / > gaps between mapped buffers.
FWIW, that should be relatively easy to do in mesa/src/gallium/winsys/radeon/drm/radeon_drm_bo.c / libdrm/amdgpu/amgpu_vamgr.c by making every BO's userspace GPUVM address range larger than the BO size. The question is whether that can be enabled all the time or only for debugging, since it might cause the VM page tables to be less compact. -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast | Mesa and X developer _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev