diff options
author | Ilia Mirkin <[email protected]> | 2015-05-23 19:07:48 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-05-23 19:10:07 -0400 |
commit | c922758685932e86d935972980df3be22d7b2fdf (patch) | |
tree | 9a27b6bedd2f7e96ee51ad48797a2b2d07f1636c /src | |
parent | 921917c8d8e707dd854e7be05fba7a3e55bc71bf (diff) |
nv30: check nouveau_bo_map output of notify bo
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/nv30/nv30_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouveau/nv30/nv30_screen.c index 025cad28042..bb79ccc538f 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); |