Mesa (master): nvc0: reduce the initial code segment size to 512KB

Samuel Pitoiset hakzsam at kemper.freedesktop.org
Thu Sep 1 19:27:37 UTC 2016


Module: Mesa
Branch: master
Commit: ea7b47596824fd38bd9ad25e49626d8a7d821806
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea7b47596824fd38bd9ad25e49626d8a7d821806

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Wed Aug 31 22:52:47 2016 +0200

nvc0: reduce the initial code segment size to 512KB

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 6c6d177..0627f3d 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -987,7 +987,7 @@ nvc0_screen_create(struct nouveau_device *dev)
 
    nvc0_magic_3d_init(push, screen->eng3d->oclass);
 
-   ret = nvc0_screen_resize_text_area(screen, 1 << 20);
+   ret = nvc0_screen_resize_text_area(screen, 1 << 19);
    if (ret)
       FAIL_SCREEN_INIT("Error allocating TEXT area: %d\n", ret);
 




More information about the mesa-commit mailing list