summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/drm/nouveau/nouveau_winsys.c
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2008-11-08 18:32:33 +0200
committerPekka Paalanen <pq@iki.fi>2008-11-08 18:32:33 +0200
commit0da43322bbc6ead4eeb1b9fe079a33e0d57bece5 (patch)
tree5ec352a58587b68d802a880b1f2869c1c16fd7dd /src/gallium/winsys/drm/nouveau/nouveau_winsys.c
parentb5a3c4272be1561646c8a104e4faae870f16ddee (diff)
Nouveau: build, link and use nv20.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'src/gallium/winsys/drm/nouveau/nouveau_winsys.c')
-rw-r--r--src/gallium/winsys/drm/nouveau/nouveau_winsys.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/winsys/drm/nouveau/nouveau_winsys.c b/src/gallium/winsys/drm/nouveau/nouveau_winsys.c
index 0878840dcc..364340e1d3 100644
--- a/src/gallium/winsys/drm/nouveau/nouveau_winsys.c
+++ b/src/gallium/winsys/drm/nouveau/nouveau_winsys.c
@@ -101,10 +101,13 @@ nouveau_pipe_create(struct nouveau_context *nv)
switch (chipset & 0xf0) {
case 0x10:
- case 0x20:
hws_create = nv10_screen_create;
hw_create = nv10_create;
break;
+ case 0x20:
+ hws_create = nv20_screen_create;
+ hw_create = nv20_create;
+ break;
case 0x30:
hws_create = nv30_screen_create;
hw_create = nv30_create;