summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-04-14 21:47:15 +0200
committerSamuel Pitoiset <[email protected]>2016-04-14 21:57:21 +0200
commitbb4cdee9a4dbda40c0e330aef0bbcaf749b7ffab (patch)
tree5a00c862f45895b0b736eddd5e013e7984ce5f4a /src/gallium
parent6e23fd420d8e7d382f6a643a48cc6fcaeb81ee64 (diff)
nvc0: do not break the universe on GK110+
I removed that return 0 by mistake. Ooops. Fixes: 6e23fd4 ("nvc0: allow to use compute support on GM200") Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index f6d05aaf9d4..3bf98ad6a3b 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -647,6 +647,7 @@ nvc0_screen_init_compute(struct nvc0_screen *screen)
case 0x120:
if (debug_get_bool_option("NVF0_COMPUTE", false))
return nve4_screen_compute_setup(screen, screen->base.pushbuf);
+ return 0;
default:
return -1;
}