nvc0: reduce likelihood of collision for real buffers on Fermi
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 11 Feb 2016 22:49:45 +0000 (23:49 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sun, 21 Feb 2016 09:41:53 +0000 (10:41 +0100)
commit80fc67fba5c91a4437afe261d2197f4bc26c6ff2
tree85a533c907ba6045536423c1d4ba422c13683bbb
parent807901b6397dccc5530e5a597b7a3fa0988e386b
nvc0: reduce likelihood of collision for real buffers on Fermi

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/nvc0_compute.c