mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 07:00:31 +01:00
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>
This commit is contained in:
parent
807901b639
commit
80fc67fba5
1 changed files with 2 additions and 2 deletions
|
|
@ -90,13 +90,13 @@ nvc0_screen_compute_setup(struct nvc0_screen *screen,
|
|||
BEGIN_NVC0(push, NVC0_COMPUTE(WARP_TEMP_ALLOC), 1);
|
||||
PUSH_DATA (push, 0);
|
||||
BEGIN_NVC0(push, NVC0_COMPUTE(LOCAL_BASE), 1);
|
||||
PUSH_DATA (push, 1 << 24);
|
||||
PUSH_DATA (push, 0xff << 24);
|
||||
|
||||
/* shared memory setup */
|
||||
BEGIN_NVC0(push, NVC0_COMPUTE(CACHE_SPLIT), 1);
|
||||
PUSH_DATA (push, NVC0_COMPUTE_CACHE_SPLIT_48K_SHARED_16K_L1);
|
||||
BEGIN_NVC0(push, NVC0_COMPUTE(SHARED_BASE), 1);
|
||||
PUSH_DATA (push, 2 << 24);
|
||||
PUSH_DATA (push, 0xfe << 24);
|
||||
BEGIN_NVC0(push, NVC0_COMPUTE(SHARED_SIZE), 1);
|
||||
PUSH_DATA (push, 0);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue