[Mesa-dev] [PATCH] radeonsi: fix Hyper-Z hangs on P2 configs

Michel Dänzer michel at daenzer.net
Wed Mar 16 07:58:25 UTC 2016


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


More information about the mesa-dev mailing list