nvc0: reduce likelihood of collision for real buffers on Kepler
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 22 Feb 2016 20:44:25 +0000 (21:44 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 1 Apr 2016 20:26:24 +0000 (22:26 +0200)
commit7797d5f7d9b367f96200093cbe166c4478eae65e
tree2576c808a42da5cb4a466f174386229257b8c8c1
parente2e8085fac13a7af33feaf11a9c085467d257490
nvc0: reduce likelihood of collision for real buffers on Kepler

Reduce likelihood of collision with real buffers by placing the
hole at the top of the 4G area. This fixes some indirect draw+compute
tests with large buffers.

Suggested by Ilia Mirkin.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nvc0/nve4_compute.c