mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 11:50:09 +01:00
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>
This commit is contained in:
parent
e2e8085fac
commit
7797d5f7d9
1 changed files with 2 additions and 2 deletions
|
|
@ -96,9 +96,9 @@ nve4_screen_compute_setup(struct nvc0_screen *screen,
|
|||
* accessible. We cannot prevent that at the moment, so expect failure.
|
||||
*/
|
||||
BEGIN_NVC0(push, NVE4_CP(LOCAL_BASE), 1);
|
||||
PUSH_DATA (push, 1 << 24);
|
||||
PUSH_DATA (push, 0xff << 24);
|
||||
BEGIN_NVC0(push, NVE4_CP(SHARED_BASE), 1);
|
||||
PUSH_DATA (push, 2 << 24);
|
||||
PUSH_DATA (push, 0xfe << 24);
|
||||
|
||||
BEGIN_NVC0(push, NVE4_CP(CODE_ADDRESS_HIGH), 2);
|
||||
PUSH_DATAh(push, screen->text->offset);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue