Mesa (master): nv30: check nouveau_bo_map output of notify bo
Ilia Mirkin
imirkin at kemper.freedesktop.org
Sat May 23 23:11:59 UTC 2015
Module: Mesa
Branch: master
Commit: c922758685932e86d935972980df3be22d7b2fdf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c922758685932e86d935972980df3be22d7b2fdf
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date: Sat May 23 19:07:48 2015 -0400
nv30: check nouveau_bo_map output of notify bo
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/gallium/drivers/nouveau/nv30/nv30_screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
index 025cad2..bb79ccc 100644
--- a/src/gallium/drivers/nouveau/nv30/nv30_screen.c
+++ b/src/gallium/drivers/nouveau/nv30/nv30_screen.c
@@ -524,7 +524,7 @@ nv30_screen_create(struct nouveau_device *dev)
ret = nouveau_bo_wrap(screen->base.device, fifo->notify, &screen->notify);
if (ret == 0)
- nouveau_bo_map(screen->notify, 0, screen->base.client);
+ ret = nouveau_bo_map(screen->notify, 0, screen->base.client);
if (ret)
FAIL_SCREEN_INIT("error mapping notifier memory: %d\n", ret);
More information about the mesa-commit
mailing list