nouveau: hook in nv30.

This commit is contained in:
Stephane Marchesin
2008-02-15 02:25:17 +01:00
parent e713cb26c9
commit e538dc52c1
3 changed files with 7 additions and 0 deletions
@@ -8,6 +8,7 @@ MINIGLX_SOURCES =
PIPE_DRIVERS = \
$(TOP)/src/mesa/pipe/softpipe/libsoftpipe.a \
$(TOP)/src/mesa/pipe/nv40/libnv30.a \
$(TOP)/src/mesa/pipe/nv40/libnv40.a \
$(TOP)/src/mesa/pipe/nv50/libnv50.a
@@ -80,6 +80,9 @@ nouveau_pipe_create(struct nouveau_context *nv)
return NULL;
switch (nv->chipset & 0xf0) {
case 0x30:
hw_create = nv30_create;
break;
case 0x40:
case 0x60:
hw_create = nv40_create;
+3
View File
@@ -49,6 +49,9 @@ struct nouveau_winsys {
unsigned, unsigned, unsigned, unsigned, unsigned);
};
extern struct pipe_context *
nv30_create(struct pipe_winsys *, struct nouveau_winsys *, unsigned chipset);
extern struct pipe_context *
nv40_create(struct pipe_winsys *, struct nouveau_winsys *, unsigned chipset);